Skip to content

Conversation

@immerrr
Copy link
Contributor

@immerrr immerrr commented Feb 2, 2015

This enables creating images in RGBa mode with frombytes or frombuffer directly, previously raw_decoder and raw_encoder would choke even on RGBa -> RGBa no-op transformations.

This also enables band-shuffling codecs that were readily available for RGBA to be used for RGBa. One motivation for that is to speed-up conversion to and from QImage in QImage.Format_ARGB32_Premultiplied.

@landscape-bot
Copy link

Code Health
Repository health increased by 0.94% when pulling d41fed6 on immerrr:rgba-premultiplied-codecs into 5fa52f8 on python-pillow:master.

wiredfool added a commit that referenced this pull request Feb 6, 2015
Enable basic support for 'RGBa' raw encoding/decoding
@wiredfool wiredfool merged commit 66c3d2f into python-pillow:master Feb 6, 2015
@wiredfool
Copy link
Member

Looks good to me, thanks for the patch.

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.

3 participants