Creating PNG image sizes with transparency (RGBA image mode) will fail since alpha channel will be removed from image.
Convert image to RGB mode only if image format is JPEG
Coverage increased (+0.09%) to 67.331% when pulling 6d4bf1cbcae4e2e899b78ddb90f8885d7c66b07e on drazenzen:drop-alpha-on-jpeg-save-only into 23c437652c1d279434e2ae449399c125aa2ea892 on richardbarran:master.
Looks goods to me - thanks for the contribution!
Just one comment: Photologue only supports Python 3 now, so you can write super() - no arguments required.
Creating PNG image sizes with transparency (RGBA image mode) will fail since alpha channel will be removed from image. Convert image to RGB mode only if image format is JPEG