You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old options={'keep_exif': True} seems to be gone from imagekit / pilkit / PIL. Now it seems one has to supply the 'exif' data itself from the uploaded source file in options -> params to PIL Image.save() - so how does one do that as it cannot be declared statically as ProcessedImageField options parameter?
The text was updated successfully, but these errors were encountered:
Here's a workaround I ended up using for facing this issue. Not fancy, I'd prefer doing it by setting an option in the ProcessedImageField. It basically overrides the save method of the original ProcessedImageField by setting the new spec.options dict to contain the same EXIF info as the source image (before processing it)
The old
options={'keep_exif': True}
seems to be gone from imagekit / pilkit / PIL. Now it seems one has to supply the 'exif' data itself from the uploaded source file in options -> params to PIL Image.save() - so how does one do that as it cannot be declared statically as ProcessedImageField options parameter?The text was updated successfully, but these errors were encountered: