Skip to content

PngBitDepth.Bit8 not work, image still bit32 #1480

Answered by JimBobSquarePants
df257 asked this question in Q&A
Discussion options

You must be logged in to vote

PngBitDepth is calculated at bits per sample or per palette index (not per pixel). This is inline with the specification. To set your colorspace you also need to set the PngColorType property.

This issue would have been better suited as a QA discussion and as such I've transferred it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JimBobSquarePants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #1480 on December 18, 2020 10:12.