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?".
iMohammad
Posts: 3 Joined: 2018-10-14T04:57:14-07:00
Authentication code: 1152
Post
by iMohammad » 2018-10-16T22:55:14-07:00
hi
i have a problem . i wanna convert a pdf file to png ... i search in web and use many commands.... but i don't convert file . do i need install adding file/ lib ?
// i using this code:
magick convert 01.pdf 01.png
myOS: win8.1
IM: 7.0.8
Thanks
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2018-10-16T23:19:03-07:00
You need to install the Ghostscript delegate into your Imagemagick. Imagemagick cannot find Ghostscript.
iMohammad
Posts: 3 Joined: 2018-10-14T04:57:14-07:00
Authentication code: 1152
Post
by iMohammad » 2018-10-16T23:31:13-07:00
fmw42 wrote: ↑ 2018-10-16T23:19:03-07:00
You need to install the Ghostscript delegate into your Imagemagick. Imagemagick cannot find Ghostscript.
Thank Fred
convert is complete but quality of final image is very low
do you have any idea ?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2018-10-16T23:43:14-07:00
Code: Select all
magick -density 288 convert 01.pdf -resize 25% 01.png
Nominal density is 72. So 72*4=288 and thus I resize by the inverse of 4 = 1/4 = 25%
iMohammad
Posts: 3 Joined: 2018-10-14T04:57:14-07:00
Authentication code: 1152
Post
by iMohammad » 2018-10-16T23:53:35-07:00
fmw42 wrote: ↑ 2018-10-16T23:43:14-07:00
Code: Select all
magick -density 288 convert 01.pdf -resize 25% 01.png
Nominal density is 72. So 72*4=288 and thus I resize by the inverse of 4 = 1/4 = 25%
Thank you.
it's worked