How to convert GIF to PNG in Perl/CGI

Posted on 2003-03-04
Medium Priority
Last Modified: 2013-12-25
I need a Perl script to convert GIF format to PNG format in a webpage, does anyone help me?
Question by:mikezang
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 48

Expert Comment

ID: 8070253
The Image::Magick module can do that for you.


Author Comment

ID: 8070488
I have two question about this module.
1. How can I know if a site suppots this module? for example, bardsoft.virtualave.net .
2. How can I use this module? I got gif image from this URL
I hope it can be onverted to PNG format, then show it in browser, can you show me a CGI sample for this purpose?
LVL 48

Accepted Solution

Tintin earned 200 total points
ID: 8085476
To know if your site supports ImageMagick, either ask them or use Perldiver to list all the modules installed.

The documentation for ImageMagick has plenty of examples.

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question