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.
pixelfed/app/Util
Stefan 4f13ebfe3f fix: apply EXIF orientation before resizing portrait images
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 Refactor, use actor private key, thanks Mastodon ;) 4 months ago
Blurhash Lint 7 months ago
Lexer Lint 7 months ago
Localization Lint 7 months ago
Media fix: apply EXIF orientation before resizing portrait images 2 months ago
RateLimit Lint 7 months ago
Sentiment Lint 7 months ago
Site [Server Bug]: app.logo is not used in code 6 months ago
Webfinger Lint 7 months ago