mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Smartphone photos stored in landscape orientation with an EXIF rotation tag were being saved to S3 in the wrong orientation. Image.php read the raw pixel dimensions without first applying the EXIF tag, so portrait photos (e.g. 4032×3024 with Orientation=6) were classified and resized as landscape (1920×1080). Calling orient() immediately after read() physically rotates the image to match its EXIF orientation tag before any dimension checks or scaling. This ensures portrait photos remain portrait after processing. Intervention Image v3 reference: https://image.intervention.io/v3/modifying/orientation |
2 months ago | |
|---|---|---|
| .. | ||
| ActivityPub | 4 months ago | |
| Blurhash | 7 months ago | |
| Lexer | 7 months ago | |
| Localization | 7 months ago | |
| Media | 2 months ago | |
| RateLimit | 7 months ago | |
| Sentiment | 7 months ago | |
| Site | 6 months ago | |
| Webfinger | 7 months ago | |