GdPictureImaging.PdfCreateFromMultipageTIFF and JBIG2

Discussions about image processing and document imaging.
Post Reply
Username
Posts: 16
Joined: Wed Jul 18, 2012 12:11 am

GdPictureImaging.PdfCreateFromMultipageTIFF and JBIG2

Post by Username » Thu Jul 19, 2012 11:37 am

GdPicture v9:

When I try to call the following sequence on GdPictureImaging instance:
TiffCreateMultiPageFromFile(string);
ConvertTo1BppAT(int);
TiffSaveMultiPageToFile(int, string, TiffCompression);
PdfCreateFromMultipageTIFF(int ImageID, string PdfFileDest, bool PDFA, string Title, string Author, string Subject, string Keywords, string Creator)

the last method throws exception:
Unable to load DLL 'GdPicture.NET.9.jbig2.encoder.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Does this means that I need JBIG2 plugin in order to create PDF from TIFF files using GdPictureImaging ?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GdPictureImaging.PdfCreateFromMultipageTIFF and JBIG2

Post by Loïc » Thu Jul 19, 2012 2:52 pm

Hello,
Does this means that I need JBIG2 plugin in order to create PDF from TIFF files using GdPictureImaging ?
Yes if you want to use JBIG2 compression. You can use CCITT4 by calling the method PdfSetCompressionForBitonalImage().

Hope this helps!

Regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest