Identify shows pbm instead of pdf

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
wojtass
Posts: 2
Joined: 2017-11-30T03:40:05-07:00
Authentication code: 1152

Identify shows pbm instead of pdf

Post by wojtass »

Hey, after updating imagemagick library I am getting strange responses for identify cmd regarding pdf documents.
Ubuntu 16.04
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org
GPL Ghostscript 9.18 (2015-10-05)

identify *.pdf
*pdf PBM 612x792 612x792+0+0 16-bit Bilevel Gray 61KB 0.000u 0:00.000

On previous version:
ubuntu 14.04
Version: ImageMagick 6.7.7-10 2017-03-14 Q16 http://www.imagemagick.org
GPL Ghostscript 9.10 (2013-08-30)

identify *.pdf
*.pdf PDF 612x792 612x792+0+0 16-bit Bilevel DirectClass 61KB 0.000u 0:00.000

Can anybody give me some hints why it is happening like that?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Identify shows pbm instead of pdf

Post by fmw42 »

It could be a bug in 6.8.9.9 that was subsequently fixed. Perhaps you should upgrade ImageMagick since that version is about 120 versions old. Alternately, post your PDF file and we can see what identify says on a more current version and on your version.
wojtass
Posts: 2
Joined: 2017-11-30T03:40:05-07:00
Authentication code: 1152

Re: Identify shows pbm instead of pdf

Post by wojtass »

Thanks for answer fmw42. This version is the latest available on my apt-repository. All the newer versions are available only by building from source ? Or I can somehow make it using apt-get ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Identify shows pbm instead of pdf

Post by fmw42 »

post your PDF file and we can see what identify says on a more current version and on your version.
Post Reply