comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Coyote Graphics 8-bit PNG Output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Coyote Graphics 8-bit PNG Output [message #79759] Tue, 03 April 2012 17:50
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Nothing like a bunch of new program updates to bring the
program change requests out of the woodwork! One request,
for 8-bit PNG output to cut down on PNG file size, was easy
enough to implement, although I do so reluctantly. God
knows I've spent half my life trying to move people away
from the 8-bit mindset, but it seems the world is full
of too many conservative scientists to believe this is
ever going to happen in my lifetime.

I concede reluctantly, but in a way I hope few people,
and only those who read the documentation (that is, a
handful, at most), will notice. PS_End will now check
for a flag that can be set with cgWindow_SetDefs to
see if an 8-bit or 24-bit PNG file should be created.

If you prefer 8-bit PNG files be created, do this:

cgWindow_SetDefs, IM_PNG8=1

If you prefer the normal, 24-bit PNG files, do nothing
or set this keyword to 0.

This is an all or nothing deal. It is not possible
to change this for a particular cgWindow with cgControl.

You will need the new Coyote Library programs from
earlier today, plus these three additional programs:

http://www.idlcoyote.com/programs/ps_end.pro
http://www.idlcoyote.com/programs/cgwindow_setdefs.pro
http://www.idlcoyote.com/programs/cgwindow_getdefs.pro

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: modify colors in contour plots
Next Topic: Resizing Raster Files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:52:29 PDT 2025

Total time taken to generate the page: 0.00509 seconds