Skip to content

Commit

Permalink
Merge pull request #51 from dmarler/master
Browse files Browse the repository at this point in the history
Added WebP as a transparency format
  • Loading branch information
vstoykov authored Jun 10, 2021
2 parents b0b19d1 + c03e0f7 commit 2a9ad30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilkit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .lib import Image, ImageFile, StringIO, string_types


RGBA_TRANSPARENCY_FORMATS = ['PNG']
RGBA_TRANSPARENCY_FORMATS = ['PNG', 'WEBP']
PALETTE_TRANSPARENCY_FORMATS = ['PNG', 'GIF']
DEFAULT_EXTENSIONS = {
'JPEG': '.jpg',
Expand Down

0 comments on commit 2a9ad30

Please sign in to comment.