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?".
everything goes ok, but when I open the image with irfanview the resolution field is blank so the print size is wrong. If I use -density 150x150 nothing changes. What can I do to make the image display the correct dpi value?
using -units PixelsPerInch didn't change anything.
-density changes only the attribute of the image, and that's what I tried to change after resampling the image in order to get the dpi display right. But for some reason when converting an image to jpeg2000 loses that attribute and using density doesn't fix it.
I can't upload an image, but you can test it with any image, it's not a problem with a specific image.
C:\>convert -list configure
Path: [built-in]
Name Value
-------------------------------------------------------------------------------
NAME ImageMagick
Path: C:\Program Files\ImageMagick-6.6.0-Q16\configure.xml
Name Value
-------------------------------------------------------------------------------
CC vs8
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg [b]jp2[/b] lcms png tiff x11 xml wmf zlib
HOST windows-unknown-linux-gnu
LIB_VERSION 0x660
LIB_VERSION_NUMBER 6,6,0,7
NAME ImageMagick
RELEASE_DATE 2010-03-15
VERSION 6.6.0
WEBSITE http://www.imagemagick.org
Path: configure.xml
Name Value
-------------------------------------------------------------------------------
CC vs8
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg [b]jp2[/b] lcms png tiff x11 xml wmf zlib
HOST windows-unknown-linux-gnu
LIB_VERSION 0x660
LIB_VERSION_NUMBER 6,6,0,7
NAME ImageMagick
RELEASE_DATE 2010-03-15
VERSION 6.6.0
WEBSITE http://www.imagemagick.org
it seems that converting an image to jpeg2000 makes it lose it's dpi attribute, can someone else please test this to check if I am doing something wrong?
We use the Jasper delegate library to save images in the JPEG 2000 format. We are not aware of any method that Jasper exports where we can set the image resolution units. If you find a way, let us know, otherwise your bug report should go to the folks that support the Jasper delegate library.