Search
Searches topics and replies. Every word has to appear in the post.
4 posts found.
| Post | Posted |
|---|---|
Note exif_transpose doesn't touch the file on disk, only your image object. Bit me when I assumed the originals got fixed. | by lena_w |
Worth knowing that exif_transpose returns a new image and strips the orientation tag, so if you save it again it won't get rotated twice. | by Anonymous |
Follow-up to my gallery notes. Phone photos were coming out sideways in thumbnails. from PIL import Image, ImageOps img = ImageOps.exif_transpose(Image.open(path)) One line. The orientation tag is in the file, Pillow just doesn't apply it b… | by mo |
Thumbnail generation is working. Notes for when I get back to this: - portrait images get stretched in the index - filenames with spaces break the next link - don't regenerate thumbnails if the original hasn't changed - remove the hardcoded… | by mo |