Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Inconsistencies when working with images with different DPIs #173

Open
Piolie opened this issue May 16, 2021 · 0 comments
Open

Inconsistencies when working with images with different DPIs #173

Piolie opened this issue May 16, 2021 · 0 comments

Comments

@Piolie
Copy link

Piolie commented May 16, 2021

Normally, I scan at 300dpi, but for pages that have very fine details that I'd like to preserve I might switch to 600dpi. Today I found that some settings are mismatched when images with different DPIs are used.

I'm attaching two sample PNG images. One is 1004x812 (300dpi) while the other is 2008x1662 (600dpi). There is nothing special about each image. I just took them from a book in the public domain and saved them with the GIMP.

Below are the steps to reproduce the issue.

  1. Create a new project and add the two files.
  2. Press the button for the steps 1-3, so that orientation, splitting and deskew are handled automatically. (ST will split each page in two.)
  3. In Select Content of the first page choose Page Box -> Manual (don't change any value).
  4. Press Apply to ....
  5. In Options select Apply page box and in Apply to select All pages. Press OK.
  6. Select the 3rd page and notice that the page and content boxes have been scaled by 2.
  7. Try changing the value of the page box to 42,2 by 64,5. The page box will grow accordingly.
  8. Go to the 4th page and return to the 3rd. Notice that the page box has been shrinked again. This happens no matter how many times we try.
  9. For our changes to persist, we have to either move the page box with Shift+LMB or resize it with the mouse cursor.

Also, margin guides added in pages of one DPI value are misplaced in pages of the other DPI value. This makes it impossible to align all the pages. Furthermore, the guides position is corrupted when switching between those pages.

OS: Windows10. ST: 2019.8.16 Early Access (64 bit).
Issue173.zip

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

No branches or pull requests

1 participant