LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   png to gif in linux? (https://www.linuxquestions.org/questions/linux-software-2/png-to-gif-in-linux-251274/)

jon_k 11-04-2004 05:51 PM

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!

JanusPaul 11-04-2004 06:01 PM

Doubtful...
 
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!

avarus 11-04-2004 06:36 PM

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.

TIM

shulato 05-25-2010 07:41 PM

use image magick. you can convert from pdf to image, image to pdf, etc.

pixellany 05-25-2010 09:01 PM

shulato;
If you want to advertise here, please see the links at the bottom of the page.

Closing almost 6-year-old thread


All times are GMT -5. The time now is 03:10 PM.