Skip to content

imagemagick reads an image with wrong dpi #628

Answered by dlemstra
gitexplr asked this question in General
Discussion options

You must be logged in to vote

I am unable to reproduce your isue this is the output that I am getting with the test image that you provided:

image.Density
{118.11x118.11 cm}
    Units: PixelsPerCentimeter
    X: 118.11
    Y: 118.11
image.Density.ChangeUnits(DensityUnit.PixelsPerInch)
{299.9994x299.9994 inch}
    Units: PixelsPerInch
    X: 299.9994
    Y: 299.9994

Where do you see the value 762 as the DPI?

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@gitexplr
Comment options

@gitexplr
Comment options

@dlemstra
Comment options

@gitexplr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gitexplr
Comment options

Answer selected by gitexplr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants