rescale-shrink and keep pixels

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
iaw4
Posts: 4
Joined: 2010-08-01T07:13:04-07:00
Authentication code: 8675308

rescale-shrink and keep pixels

Post by iaw4 »

Let's say I have a document that is 10cm x 10cm at 72dpi. I want to shrink it to 5cm x 5cm at 144dpi. Later, if I want to scale it back up to 10cm x 10cm at 72dpi, I should not have lost any pixels.

how would I do this? advice appreciated.

/iaw4
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: rescale-shrink and keep pixels

Post by anthony »

that is JUST a density change use -density

Code: Select all

    convert image_72   -density 144  image_144
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply