Skip to content

Commit

Permalink
Added WebP as a transparency format
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarler committed Apr 28, 2021
1 parent b0b19d1 commit c03e0f7
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 c03e0f7

Please sign in to comment.