Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 11-04-2004, 05:51 PM   #1
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
png to gif in linux?

Is there a command line based program that can convert png files to gif or other formats (but GIF is highly reccomended)

I have found out about gif2png, but that program appears to be one-way only.

Curse the devlopers of gif2png!

Last edited by jon_k; 11-04-2004 at 05:58 PM.
Old 11-04-2004, 06:01 PM   #2
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Rep: Reputation: 15

Since the compression method (LZW) of GIFs are patented by Unisys and IBM, you can legally read a GIF, but not write a GIF. Thus converting into a GIF would be writing a GIF!
Old 11-04-2004, 06:36 PM   #3
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 33
Sorry JP, but your info is out of date - the LZW patent expired some time ago.

Also, software patents in general are a strange quirk of American law and so European software developers are unaffected by them. Hence there have always been plenty of tools around to read and write GIF files.

Anyway, the best tool for the job is probably ImageMagick - it should be available as a standard package for just about any distro and provides the powerful 'convert' command. Try 'man convert' for more info.

You may also want to check out the netpbm/pbmplus packages which convert all sorts of image types.

Old 05-25-2010, 07:41 PM   #4
LQ Newbie
Registered: May 2010
Posts: 3

Rep: Reputation: 0
use image magick. you can convert from pdf to image, image to pdf, etc.

Last edited by pixellany; 05-25-2010 at 09:44 PM. Reason: removed advertsing links
Old 05-25-2010, 09:01 PM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
If you want to advertise here, please see the links at the bottom of the page.

Closing almost 6-year-old thread

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
any software on linux can joint a series of jpg to a gif? hkl8324 Linux - General 6 06-22-2005 12:14 PM
Webalizer: configure: error: png library not found... please install png. mikeshn Linux - Software 5 01-10-2005 02:28 PM
CMD line tool for PDF -> HTML or JPG/PNG/GIF ilhbutshm Linux - Software 5 10-23-2004 04:18 AM
GIF gone in program when compile Java in Linux dwarf007 Programming 1 09-30-2004 11:15 PM
Where is trashcan_full/empty.png and kmenu.png??? d33pdream Linux - General 2 02-25-2003 11:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration