I have been using pdfimages to extract images from PDFs. It extracts all of following types of images

image - an opaque image

mask - a monochrome mask image

smask - a soft-mask image

stencil - a monochrome mask image used for painting a color or pattern

How can I extract only opaque type images and exclude mask, smask and stencil images?

  • Have you tried man pdfimages? – andy256 Jan 1 '16 at 3:03
  • Yes. I couldn't find any option which get me what I required. – Amit Patel Jan 1 '16 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.