]> git.tdb.fi Git - libs/gui.git/commitdiff
Avoid the unpadding loop with kCGImageAlphaNoneSkipFirst
authorMikko Rasa <tdb@tdb.fi>
Fri, 11 Oct 2013 09:52:43 +0000 (12:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 11 Oct 2013 13:54:24 +0000 (16:54 +0300)
The data looks like this:

  X RGB X RGB X RGB X RGB ...

Ignoring the first padding byte allows treating it as RGBX.  The padding
bytes move to different RGB triplets, but they're going to get ignored
anyway.


No differences found