pdf to jpg Error

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
zsunsky
Posts: 4
Joined: 2018-10-08T05:50:27-07:00
Authentication code: 1152

pdf to jpg Error

Post by zsunsky » 2018-10-08T05:55:02-07:00

[root@izwz9hw7653yyqpqm5qv80z test]# convert -version
Version: ImageMagick 7.0.7-25 Q16 x86_64 2018-10-07 http://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib freetype jpeg tiff x zlib

[root@izwz9hw7653yyqpqm5qv80z test]# dir
1.jpg 2.jpg test01.pdf test02.PDF test111.jpg test111.tiff test47.php test.pdf test.tiff

[root@izwz9hw7653yyqpqm5qv80z test]# convert test01.pdf test01.jpg
convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/509.
convert: no images defined `test01.jpg' @ error/convert.c/ConvertImageCommand/3275.



What is the reason for the mistake?

snibgo
Posts: 11445
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: pdf to jpg Error

Post by snibgo » 2018-10-08T06:53:43-07:00

zsunsky wrote:Delegates (built-in): bzlib freetype jpeg tiff x zlib
You don't have the PNG built-in delegate. I guess you built IM yourself, but didn't install libpng first. config.log should tell you.
snibgo's IM pages: im.snibgo.com

zsunsky
Posts: 4
Joined: 2018-10-08T05:50:27-07:00
Authentication code: 1152

Re: pdf to jpg Error

Post by zsunsky » 2018-10-18T19:57:54-07:00

Libpng is installed, but the problem is still there. What needs to be set up?

zsunsky
Posts: 4
Joined: 2018-10-08T05:50:27-07:00
Authentication code: 1152

Re: pdf to jpg Error

Post by zsunsky » 2018-10-19T01:33:25-07:00

Installation is no problem

zsunsky
Posts: 4
Joined: 2018-10-08T05:50:27-07:00
Authentication code: 1152

Re: pdf to jpg Error

Post by zsunsky » 2018-10-19T01:34:10-07:00

[root@izwz9hw7653yyqpqm5qv80z test]# dir
erp.pdf test01.pdf test02.PDF test47.php test.pdf
[root@izwz9hw7653yyqpqm5qv80z test]# convert test.pdf test.png
[root@izwz9hw7653yyqpqm5qv80z test]# dir
erp.pdf test01.pdf test02.PDF test47.php test.pdf test.png UC026158315HK.pdf
[root@izwz9hw7653yyqpqm5qv80z test]# convert UC026158315HK.pdf uc000.png
convert: no images defined `uc000.png' @ error/convert.c/ConvertImageCommand/3275.

What is the reason for the mistake?

Post Reply