Page 1 of 1

Change default resolution (imdisplay)

Posted: 2016-09-07T06:00:44-07:00
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

Re: Change default resolution (imdisplay)

Posted: 2016-09-07T06:21:00-07:00
by snibgo
You can convert your PDF with "-density" then use imdisplay on that.

Re: Change default resolution (imdisplay)

Posted: 2016-09-10T17:04:43-07:00
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!