Change default resolution (imdisplay)

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
beb
Posts: 1
Joined: 2016-09-07T05:50:08-07:00
Authentication code: 1151

Change default resolution (imdisplay)

Post by beb »

Hi.

I succesfully ran imagemagick with ghostscript in Windows7 64bits, that people can open PDF's with imdisplay and change some parameters to reduce the size of the PDF.

But the default quality/resolution is poor (72x72). I know is 72x72 because I introduced intended wrong arguments in delegates.xml, that way the error shows the value of argument -r.
I tried to change that resolution of -r%s with -r200. But this pass the value 72x72 to the next argument/key (in my case is the source file, and source file 72x72 obviously does not exist). I also tried to put another resolution argument after all %s (if that way overrides) but it is ignored.

How can I change that default resolution? I tried to find files to change this default behaviour without success

Hope someone can help me.

Thanks for reading and cheers,
Beb
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Change default resolution (imdisplay)

Post by snibgo »

You can convert your PDF with "-density" then use imdisplay on that.
snibgo's IM pages: im.snibgo.com
Markus123
Posts: 1
Joined: 2016-09-10T17:03:12-07:00
Authentication code: 1151

Re: Change default resolution (imdisplay)

Post by Markus123 »

snibgo wrote:You can convert your PDF with "-density" then use imdisplay on that.
Thanks a ton! I was wondering this too.

Thanks again!
Post Reply