Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Page Geometry wrong after watermark #465

Open
suntong opened this issue Dec 27, 2023 · 0 comments
Open

Page Geometry wrong after watermark #465

suntong opened this issue Dec 27, 2023 · 0 comments

Comments

@suntong
Copy link

suntong commented Dec 27, 2023

As explained in #201, exif autorot is applied at the start, but such meta data is missing after applying watermark.

Before image: https://fars.ee/v4So

image

After image: https://fars.ee/dm7d

image

As we can see that the exif autorot is applied first, but the final exif:Orientation picture orientation is wrong.

UPDATE:

So I took a closer look with identify -verbose after installing imagemagick. Here are the changes in the meta field:

https://www.diffchecker.com/PXo6uJ4r/

I.e., it turns out the Orientation: RightTop was kept as-is in the meta field, but the (Page) Geometry: of 1920x1080 has been wrongly changed to 1080x1920.

@suntong suntong changed the title exif autorotate missing after watermark Page Geometry wrong after watermark Dec 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant