Good day.
When converting from PDF to JPG,
The resulting JPG completely covered in black.
When converting from PDF to PNG turns normal.
When you try to convert the resulting PNG to JPG also covered with black.
I used ImageMagick 6.9.5 and ImageMagick 7.0.2., Ghostscript v9.19.
Command "magick test.pdf test.jpg"
Help me please with this problem.
File PDF is the link https://yadi.sk/i/O-OYy1l7vUEz5
The converted files are completely covered in black
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: The converted files are completely covered in black
Your PDF has alpha channel data. In fact, all the data is in the alpha channel and the base image is black. JPG does not support transparency and so you see completely black.
try
try
Code: Select all
convert test.pdf -alpha extract -negate test.jpg
Re: The converted files are completely covered in black
It helped, thank you very much for your help.