Jump to content

24-bit won't save transparency?

Recommended Posts

Why is that exactly? That's a problem for anyone interoperating with things like PAA file formats, Arma 3, etc. 24-bit is widely considered 'the' PNG way to go, including transparency, for that to be broken... surely that is a bug or oversight.

Link to comment
Share on other sites

That's how the PNG specification is defined.

The specification has long been standardized by various organizations including: Internet Engineering Task Force, World Wide Web Consortium, International Organization for Standardization, and International Electrotechnical Commission.


If Arma 3 is deviating from the standardized specification, it would seem they are the ones with the bug.

Or maybe you are mistaken that the PPA format is PNG-based.



(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites


24-bit won't save transparency?


8 bits for each RGB channel = 24 bits. Am I missing something?

  • Upvote 1
Link to comment
Share on other sites

If you're saving PNGs with automatic settings, it chooses the minimum bit depth required. If you want to ensure things are 32 bit, you have to choose the setting while saving.


An additional pitfall is saving images that have transparency with automatic settings: if the transparency is 1-bit i.e. purely opaque or transparent, the file might get saved at a lower bit depth if it has few colors and some game engines can't handle those files properly (Binding of Isaac sprites come to mind), even if they look right in editor.


Tl;dr just choose 32 bits while saving

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...