Skip to content

How to recognise transparent images? #1226

Answered by mkl-public
jukkaharkki asked this question in Q&A
Discussion options

You must be logged in to vote

When you inspect the objects a PDF consists of, you should have a copy of the current specification at your hand, ISO 32000-2. You can get a free copy at the PDF association, see https://www.pdfa-inc.org/product/iso-32000-2-pdf-2-0-bundle-sponsored-access/

In section 8.9.5 you'll find the image dictionaries explained. In particular the entries ImageMask, Mask, and SMask. Beware, though, transparency can also be achieved for regions of a PDF page which by chance may contain images, e g. by clip paths and general graphics state SMasks.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jukkaharkki
Comment options

Answer selected by jukkaharkki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants