-
Notifications
You must be signed in to change notification settings - Fork 6
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
No alpha support #1
Comments
From the xBRZScaler.cs, it says : alpha channel is unused -> map source (srcWidth * srcHeight) to target (scale * width x scale * height) |
@execomrt Correct. I'd have to implement the alpha channel support into the algorithm. Can you provide an image to test with? (Meaning, one that contains an alpha channel that you wish to scale) |
or https://sourceforge.net/projects/xbrz/files/latest/download (there are a lot of images). I've tried to changed on my side, but since you used signed int for bitmap element, there were a lot of refactor. Check the .CPP code, there is a special case for handling distance of alpha value (source code is on Sourceforge.net, updated in Mars 2018)( |
@execomrt If you want to create a pull request, I can at least take a look at the changes you were doing. Maybe tweak them and see if I can reduce the refactoring required. |
xBRZ should support alpha channel. Currently it is stripped. Is it possible to add it ?
The text was updated successfully, but these errors were encountered: