Skip to content

Conversation

@Drumato
Copy link

@Drumato Drumato commented Feb 26, 2025

表題のとおりです。

WebP変換前のオリジン画像のEXIF Orientationで回転が設定されていたとき、
bimg.Process() を実行したタイミングで回転処理が適用されます。
が、生成結果にEXIFが残っていたままだと、ブラウザによってそのEXIFが解釈され、再度回転される挙動があることがわかったので、生成結果からEXIFを取り除きます。

Copy link

@takutakahashi takutakahashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Drumato Drumato merged commit b2c2846 into master Feb 26, 2025
1 check passed
@Drumato Drumato deleted the remove-exif-with-webp branch February 26, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants