jbig2

Apr 7, 2014 at 4:15 PM
hi
would this library allow me to extract jbig2 images from pdf as a jpg or tif or the likes?
or maybe just help me convert to one of above formats?
thanks
Coordinator
Apr 7, 2014 at 7:08 PM
Edited Apr 7, 2014 at 7:08 PM
Yes. It uses Ghostscript, so be sure an install it first.
PdfReader reader = new PdfReader(inputPDF);

for (int i = 1; i <= reader.PageCount; i++)
{
      string img = reader.GetPageImage (i);
}