Page 1 of 1

Identify shows pbm instead of pdf

Posted: 2017-11-30T03:51:45-07:00
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?

Re: Identify shows pbm instead of pdf

Posted: 2017-11-30T10:37:06-07:00
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.

Re: Identify shows pbm instead of pdf

Posted: 2017-12-01T09:01:28-07:00
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 ?

Re: Identify shows pbm instead of pdf

Posted: 2017-12-01T10:35:38-07:00
by fmw42
post your PDF file and we can see what identify says on a more current version and on your version.