Printable Version of Topic

Click here to view this topic in its original format

PMView Pro Forums _ PMView - General Discussion _ PNG transparency - How can I determine if it's set?

Posted by: Al Savage Dec 6 2004, 10:48 PM

I have a collection of PNG files. Some were apparently saved with the "Write Transparency Chunk" turned on. Example:

http://falconfaq/Bendix_22BD/Bendix_22BD_01.html

The greenish background bleeds through, which in the case of this particular image, is undesireable.

Is there a method, using PMV, to determine which of several hundred PNGs are in this condition, and if so, is there a batch method to turn transparency off for these images (ie re-save them with that option disabled)?

TIA,
Al S.

Posted by: Peter Dec 8 2004, 10:52 AM

Since PNG is lossless, you can safely do a batch conversion to a different directory for all those files.

Peter

Posted by: asavage Dec 8 2004, 11:50 PM

Yes, that is a solution to this particular situation (batch converting a few thousand files in order to turn off transparency, and in the process losing the valuable-to-me timestamp for each file), but you haven't answered my question.

How do I use PMV to determine the current state of the transparency?

Regards,
Al S.

Posted by: Peter Dec 12 2004, 09:42 PM

You can't use PMView to determine the current state of the transparency; currently it does not show the flags.

You need a developer's PNG utility that will show you the option flags. (Hint: look for "dumppng" or "pngdump").

Thanks,




Edited By Peter on 1102905885

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)