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

fix decode-data for indexed-colour images #7

Merged
merged 2 commits into from
Nov 22, 2016

Conversation

slyrus
Copy link
Contributor

@slyrus slyrus commented Nov 10, 2016

  • We were calling unfilter-scanlines with a pixel size of
    4 (bytes). In fact, indexed-colour pixel sizes are 1 byte. Fix
    unfilter-scanline call appropriately.

 * We were calling unfilter-scanlines with a pixel size of
   4 (bytes). In fact, indexed-colour pixel sizes are 1 byte. Fix
   unfilter-scanline call appropriately.
 * and move the compiler-macro too. this has the effect of defining
   the compiler-macro in time to be used by the compiler, and
   eliminates warnings when compiling.
@Ramarren Ramarren merged commit c4addfa into Ramarren:master Nov 22, 2016
@slyrus slyrus deleted the index-color-scanline-fix branch November 26, 2016 21:09
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

Successfully merging this pull request may close these issues.

2 participants