Resample is used to resize and adjust the resolution settings for images that have already been raserized.
It is not used for vector images that was rasterized to a specific density.
That -density setting itself sets the appropriate size and resolution of the resulting image. your -resample will do NOTHING!
For more info on vector and raster images see.
http://www.cit.gu.edu.au/~anthony/graph ... ts/#vector
resample does not work
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
You may then have found a bug where the -density used on a EPS is not saved with the rasterized image.
Check the resulting image with verbose.
It amy also be that PNG has some extra meta tag the IM is not setting to save the image resolution or density.
Check the resulting image with verbose.
It amy also be that PNG has some extra meta tag the IM is not setting to save the image resolution or density.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
I suggest you mail cristy with that suggestion.
This -units probelm has come up before, and I am not sure why it isn't a default. Must be a reason though.
This -units probelm has come up before, and I am not sure why it isn't a default. Must be a reason though.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
But it is needed for postscript conversion. The PNG was just the output result.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/