Search found 4 matches

by stringeater
2018-09-25T09:43:20-07:00
Forum: Users
Topic: Command line: set density to get cm without resizing
Replies: 6
Views: 4219

Re: Command line: set density to get cm without resizing

Yes, double qoutes work, but not single apostrophs.
Thanks for the link to a lot of information.
by stringeater
2018-09-24T11:50:32-07:00
Forum: Users
Topic: Command line: set density to get cm without resizing
Replies: 6
Views: 4219

Re: Command line: set density to get cm without resizing

snibgo, thanks for this remark. I would have tried endlessly.
I had to remove the apostrophs to avoid another error message. This command line finally worked:

magick clipboard: -units PixelsPerCentimeter -density %[fx:w/7.7] clipboard:

Thank you fmw42 and snibgo! You have been very helpful ...
by stringeater
2018-09-24T11:27:25-07:00
Forum: Users
Topic: Command line: set density to get cm without resizing
Replies: 6
Views: 4219

Re: Command line: set density to get cm without resizing

Hi fmw42

Thanks for your extremely quick reply.
Unfortunately I get the error message:
convert: Invalid Argument '-density': '%[fx:w/7.7]' @ error/convert.c/ConvertImageCommand/1309.

My complete command line was:
magick convert clipboard: -units PixelsPerCentimeter -density '%[fx:w/7.7]' clipboard ...
by stringeater
2018-09-24T09:28:45-07:00
Forum: Users
Topic: Command line: set density to get cm without resizing
Replies: 6
Views: 4219

Command line: set density to get cm without resizing

<t>Hello<br/>
<br/>
I have joined the ImageMagick discourse today – hello everybody.<br/>
<br/>
I make screenshots of line graphics, trim them with ImageMagick and paste them into a Word document.<br/>
I would like to set the density to get the desired width in centimeters without changing the size ...