Convert PDF to JPG black backgroun
Posted: 2016-09-11T10:52:48-07:00
Hi,
I'm driving crazy with a very simple conversion.
I need to convert some PDF drawings to JPG in order to embed them into a Crystal Report.
Some drawings are in A3 format so I need to resize them to A4.
My configuration is:
- Windows 10 Pro
- ImageMagick-7.0.3-0-Q16-x64
- gs919w64
I don't need to use too much properties, so my command line is simple like this:
- convert "C:/Temp/B02798800_B.PDF" -resize 842x595^> "C:/Temp/B02798800_B.JPG"
Using exact pixel dimensions or percentage doesn't change the final result: a total black background.
If I use -page A4 property it works.
I'd prefer to use -resize because with the ^> extension, it could be avoided an unnecessary resizing (drawing smaller thn A4 format).
It seems that the problem is related only to the -resize property.
Thanks in advance for any help.
Antonio
I'm driving crazy with a very simple conversion.
I need to convert some PDF drawings to JPG in order to embed them into a Crystal Report.
Some drawings are in A3 format so I need to resize them to A4.
My configuration is:
- Windows 10 Pro
- ImageMagick-7.0.3-0-Q16-x64
- gs919w64
I don't need to use too much properties, so my command line is simple like this:
- convert "C:/Temp/B02798800_B.PDF" -resize 842x595^> "C:/Temp/B02798800_B.JPG"
Using exact pixel dimensions or percentage doesn't change the final result: a total black background.
If I use -page A4 property it works.
I'd prefer to use -resize because with the ^> extension, it could be avoided an unnecessary resizing (drawing smaller thn A4 format).
It seems that the problem is related only to the -resize property.
Thanks in advance for any help.
Antonio