Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

are 32bit RGBA images supposed to work? #12

Open
martyvona opened this issue Aug 14, 2020 · 1 comment
Open

are 32bit RGBA images supposed to work? #12

martyvona opened this issue Aug 14, 2020 · 1 comment

Comments

@martyvona
Copy link

I don't think I understand the code here for the case (seemingly common, I would think) of a 32bit RGBA input image:

The resize32bbpImage() method seems to be hardcoded to assume that there is only one channel, not 4.

In practice this seems to be a bug, when using a 32bit RGBA input image we get wrong outputs.

@avandecreme
Copy link
Contributor

From what I remember, I developed this function for 32bpp grayscale images indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants