This pull request changes the behaviour of the resize operation in the pillow plugin to convert P-formatted images that have transparency to RGBA instead of RGB.
We need to convert it to RGB so we can use a better quality resize algorithm, but some P images require an alpha channel.
Supersedes #19
This pull request changes the behaviour of the resize operation in the pillow plugin to convert P-formatted images that have transparency to RGBA instead of RGB.
We need to convert it to RGB so we can use a better quality resize algorithm, but some P images require an alpha channel.
This fixes https://github.com/torchbox/wagtail/issues/2464