Skip to content

Resize to print size #65

Answered by saucecontrol
DanAvni asked this question in Q&A
Discussion options

You must be logged in to vote

@moon6969 if you set DpiX = 0, DpiY = 0 explicitly in your ProcessImageSettings, it will preserve any DPI values present in the source image metadata, or you can set those values explicitly to whatever you want.

See: https://docs.photosauce.net/api/PhotoSauce.MagicScaler.ProcessImageSettings.html#PhotoSauce_MagicScaler_ProcessImageSettings_DpiX

I actually originally made it default to 96 DPI because that's the WPF default with 100% monitor scaling, and I was having issues with WPF showing images too small if they had print DPIs. Now that monitor zoom is much more prevalent it would seem to be no default is safe.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by saucecontrol
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #56 on March 01, 2021 22:23.