How to save PNG files?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to save PNG files?

Adrian Kuhn-3
Dear all,

I am looking for a way to save PNG files. Is that available?

Best would be a PNGWriter with the GraphicsContext interface, as my  
images might be huge and sparse. Currently I am using a PNGGenerator  
class ripped from IC&C's ADvance application. But this app is not  
Open Source---does anyone have am up-to-date email address of IC&C? ^^

cheers,
AA

Reply | Threaded
Open this post in threaded view
|

RE: How to save PNG files?

Steven Kelly
Adrian Kuhn wrote:
> I am looking for a way to save PNG files. Is that available?

See this message from November, including the attachment:
http://www.parcplace.net/list/vwnc-archive/0711/msg00165.html

You'll want to change PNGImageWriter>>zlibWriteStreamClass to return the
OS.ZLib.ZLibWriteStream class from the attachment, and probably remove
StandardSystemController>>saveAsPNG, which adds itself to the blue
button menu.

HTH,
Steve