0

Gif2png is a command line tool written in Python that allows users to convert GIF (Graphic Interchange Format) files to PNG (Portable Network Graphics) files. With this tool, image transparency and other graphic details will be preserved during the conversion process. Gif2png also allows to recover data stored in damaged GIF files. In this page, we will help you install Gif2png under Ubuntu (12.04/11.10/11.04 or older).

Gif2png Installation

For Ubuntu users, you can install with this single command:

sudo apt-get install gif2png

For other Debian-based systems, you can install from source with the following commands:

sudo apt-get install build-essential libpng-dev


wget -O gif2png-2.5.8.tar.gz http://goo.gl/6Zc7D


tar -xzvf gif2png-2.5.8.tar.gz && cd gif2png-2.5.8


./configure && make


sudo make install

Gif2png Usage

Cd to the folder containing your GIF file and run this command:

gif2png file.gif

To convert all GIFs inside the folder, use this command:

gif2png *.gif

For more help and configuring options, run this command to check its manual:

man gif2png

That's it!

Post a Comment

 
Top