Display resolution, structure, color space of PDF file

  • Follow


I get advertisements in PDF format and would like to find out what's
inside:

- Is it just a JPEG or TIFF image embedded in the PDF, or is it vector
  graphics, or both?  (Or multiple images?)

- If it's a bitmap/pixmap, then what resolution does it have?

- Which color space is used (CMYK, RGB, ...)?

- Which fonts are used?  Are they embedded?

I use GNU/Linux.

I've found out that pdffonts (from xpdf) can tell me about fonts, and
Ctrl-D in Adobe Reader can also do that.  And then there is identify
from the ImageMagick package that tells me (or claims to tell me) the
color space.  But ImageMagick seems to convert the PDF file into a
bitmap, then shows me information about that bitmap.

But I've not found out a way to see which objects are in the PDF, or
what's the resolution of the contained bitmaps (if any), and so on.

Suggestions?

Kai
0
Reply kai 5/7/2005 6:27:49 PM

Kai Gro�johann wrote:

> I get advertisements in PDF format and would like to find out what's
> inside:
> Suggestions?

Decompress all streams in your PDF file using

gs -- toolbin/pdfinflt.ps in.pdf out.pdf

and take a look at the content stream.
0
Reply Alex 5/8/2005 11:46:32 PM


1 Replies
430 Views

(page loaded in 0.035 seconds)

Similiar Articles:













7/29/2012 8:53:48 PM


Reply: