Search found 6 matches

by MNeto
2015-08-14T16:54:20-07:00
Forum: Users
Topic: How to adjust the resolution keeping the print size?
Replies: 10
Views: 8152

Re: How to adjust the resolution keeping the print size?

Completing what was said in the previous post, the two forms work:

units in inches:
convert -density 600 -units pixelsPerInch in.pdf out.png

units in pixels (or dots) per cm (600dpi = 236.2205dpcm)
convert -density 236.2205 -units PixelsPerCentimeter in.pdf out.pdf

From what I understand, you ...
by MNeto
2015-08-14T16:37:05-07:00
Forum: Users
Topic: How to adjust the resolution keeping the print size?
Replies: 10
Views: 8152

Re: How to adjust the resolution keeping the print size?


Try it with "-units":

Code: Select all
convert -density 600 -units pixelsPerInch in.pdf c.png

EDIT: And don't use "-size". Why do you want it?


Thank you! It works now!

I do not understand 100% on the relationship between image size and dpis. So I mistakenly used the size option.

Indeed, the ...
by MNeto
2015-08-14T14:13:40-07:00
Forum: Users
Topic: How to adjust the resolution keeping the print size?
Replies: 10
Views: 8152

Re: How to adjust the resolution keeping the print size?

Thanks for reply.

sorry, I made a mistake in reporting the information. Redid everything again. LibreOffice now shows a square image. When open the menu 'Format image ', it shows 17cm by 17cm (the image in LibreOffice is reduced to fit the margins).

Output of "identify -verbose out.png":


Image ...
by MNeto
2015-08-14T13:00:50-07:00
Forum: Users
Topic: How to adjust the resolution keeping the print size?
Replies: 10
Views: 8152

Re: How to adjust the resolution keeping the print size?

But both the Gimp as LibreOffice showed the same information: a different size image I'm asking (much bigger). In the KDE desktop, Gwenview application shows the image with a very large size. She should have just 1.6in ...

It is right there that is my question. In the information:


Geometry ...
by MNeto
2015-08-14T07:18:51-07:00
Forum: Users
Topic: How to adjust the resolution keeping the print size?
Replies: 10
Views: 8152

How to adjust the resolution keeping the print size?

Hello. This is my first post. I am a new user ImageMagick.

I'm trying to use ImageMagick to convert a PDF file to PNG format. This PDF file is generated from PSTricks. Basically, within the PDF file there is only a vector image in PostScript (which is what generates PSTricks) with a certain size ...