?
Solved

How to convert GIF to PNG in Perl/CGI

Posted on 2003-03-04
5
Medium Priority
?
246 Views
Last Modified: 2013-12-25
I need a Perl script to convert GIF format to PNG format in a webpage, does anyone help me?
0
Comment
Question by:mikezang
[X]
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
5 Comments
 
LVL 48

Expert Comment

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

http://search.cpan.org/author/JCRISTY/PerlMagick-5.55/Magick.pm
0
 
LVL 5

Author Comment

by:mikezang
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
/image.map.yahoo.co.jp/ymap/mk_map?&width=120&height=160&la=1&scale=100000&nl=35/42/16.0&el=139/33/35.0&no_part=0
I hope it can be onverted to PNG format, then show it in browser, can you show me a CGI sample for this purpose?
0
 
LVL 48

Accepted Solution

by:
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.
0

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