-
Notifications
You must be signed in to change notification settings - Fork 7
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
converting images with non-power-of-two width does not work #27
Comments
alternative approach: extend the texture to match the next power of two width and fill the additional vertical lines with some fill color. after reading it back in the desired format, remove the filled area. Note: this would only work for uncompressed textures... |
in any case - if no "good" solution is available or until this is not fixed, a warning/error should be provided. |
thanks a lot, this is good - we could try this on stackoverflow or here: https://www.opengl.org/discussion_boards/ |
When converting this image


with
glraw-cmd -f GL_RGB -t GL_UNSIGNED_BYTE hpicgs.png
, the programglraw-cmd
crashes. The glraw file is generated, but it has a strip in the top row:I did this on Windows 8.1.
The text was updated successfully, but these errors were encountered: