Skip to content

32-bit support #13

@roniemartinez

Description

@roniemartinez

I am having problem converting 32-bit depth into 8-bit depth. It seems that I can get the image's "silhouette" using the formula
value_8bit = value_32bit * (qPow (2, 8) - 1) / (qPow(2, 32) - 1)

But if I multiply it again with (qPow (2,8) -1) or 255, the image is almost close, at least at "grayscale" mode. I can't find any references on the conversion.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions