List Info

Thread: Re: Looking for complete set of PNG samples




Re: Looking for complete set of PNG samples
country flaguser name
United States
2007-02-17 11:46:07
> It may be a case of loading a baseline TIFF image and
generating the PNGs
> using libpng and C directly. I was hoping to avoid that
but it seems that
> there's nothing (on my platform at least) that can
actually manage to
> carry out instructions...

FOOtopnm | ppmquant N | pnmtopng

should handle pretty much anything except alpha, and that
can be handled
in two steps (i.e., create alpha.pgm and then use -alpha
alpha.pgm in step
above).  RGBA-palette images require a little more
forethought with this
approach, but you could always use pngquant for those.

Some assembly required...

Greg

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
png-mng-implement mailing list
png-mng-implementlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement

Re: Looking for complete set of PNG samples
user name
2007-02-17 18:37:32
Hi,

On 17/02/07, Greg Roelofs <newtpobox.com> wrote:
> > It may be a case of loading a baseline TIFF image
and generating the PNGs
> > using libpng and C directly. I was hoping to avoid
that but it seems that
> > there's nothing (on my platform at least) that can
actually manage to
> > carry out instructions...
>
> FOOtopnm | ppmquant N | pnmtopng
>
> should handle pretty much anything except alpha, and
that can be handled
> in two steps (i.e., create alpha.pgm and then use
-alpha alpha.pgm in step
> above).  RGBA-palette images require a little more
forethought with this
> approach, but you could always use pngquant for those.

I couldn't get ppmquant to work, but I've managed to throw
something together
using pngquant and Gimp. Thanks!

MC

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
png-mng-implement mailing list
png-mng-implementlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )