PNGs

Adrian McMenamin adrian at newgolddream.dyndns.info
Sun Dec 24 11:11:10 GMT 2006


On Sun, 2006-12-24 at 10:15 +0000, Leo Lapworth wrote:
> On 24/12/06, Adrian McMenamin <adrian at newgolddream.dyndns.info> wrote:
> 
> > I have just written version 0.01 of a very simple module -
> >
> > Image::Pngslimmer
> 
> 
> I would check - do the functions you want already exist...
> 
> http://search.cpan.org/~aroth/Image-Magick-Info-0.03/Info.pm
> 
> http://search.cpan.org/~lbrocard/Image-Imlib2-1.13/lib/Image/Imlib2.pm
> 
> http://pmt.sourceforge.net/pngcrush/ (commandline call will IPC::Run or
> something,
> or get someone to wrap this with XS code).

I had looked at all these - the first two manipulate the images but do
not remove the chunks and the third does (and does a lot more than my
module) but I thought I'd write something in pure perl.

I am generating PNGs from a database of JPEGs. The JPEGs are for use on
the web but the PNGs have to be used for J2ME and are of variable size
depending on the output device, so statically crushing them isn't a big
option either.



More information about the london.pm mailing list