Maintaining DPI

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
hillsadam
Posts: 1
Joined: 2018-07-20T05:59:37-07:00
Authentication code: 1152

Maintaining DPI

Post by hillsadam »

Hello All,

My developer is using Image Magick on a photo hosting system im using..

Im having an issue with is holding onto the DPI information for some files, specifically ones that I save from Photoshop..

Ive checked that prior to upload it has a DPI of 300, but when it lands in my hosting server it has no DPI values attached to it and reverts to 72 when re opened in Photoshop.

Are there nay steps or options I can advise my developer to use so that it looks at the DPI value and keep it intact?

Adam
thanks in advance
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Maintaining DPI

Post by snibgo »

ImageMagick does preserve resolution when converting PSD files to other formats.

To diagnose why your system doesn't, we need more information:
- version of IM, and platform
- all the scripts or other code between when the image has correct resolution and when it doesn't
- sample inputs and outputs to that code
snibgo's IM pages: im.snibgo.com
Post Reply