Skip to content

Conversation

developius
Copy link
Member

This commit fixes the output format of the image for normalisecolor. It was returning RGBA (instead of RGB) which was breaking things.

Signed-off-by: Finnian Anderson [email protected]

Signed-off-by: Finnian Anderson <[email protected]>
@alexellis
Copy link
Member

What's wrong with the Alpha channel being present? This seemed to work for me with the samples shared

@developius
Copy link
Member Author

Not 100% sure what was going on, but I was unable to 'normalise' any of the photos returned from the colourisation function. It definitely had something to do with the alpha channel because as soon as I added the flags to normalisecolor above, it started working.

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

Successfully merging this pull request may close these issues.

2 participants