Is there a direct function to set a chroma color for a bitmap on FreeImage API?
What I need to do is check whether RGB values of a pixel equal a specific RGB value and if true set the alpha value of the pixel to full transparent.
The thing is that I guess to take into account the different supported formats (BITMAP, ..., RGBAF, etc.) and I don't see a way to calculate the maximum value for each RGB channel depending on the format (so as to compare each individual value as a float) as well as to set the alpha channel.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.