LEADTOOLS Support
Document
Document SDK Questions
Can not save ocr documents in PDF/A format (OcrDocumentFormat.PdfA)
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, August 4, 2009 3:39:43 AM(UTC)
Groups: Registered
Posts: 7
hi,
I try to use ocrDocument.Save-method with file format set to OcrDocumentFormat.PdfA, but it results in error: "Attempted to read or write protected memory."
If I use "plain" PDF file format (OcrDocumentFormat.Pdf), it works fine.
I unlock (& check that they are not locked) following 7 components:
(RasterSupportType.Document, "");
(RasterSupportType.Ocr, "");
(RasterSupportType.OcrPlus, "");
(RasterSupportType.OcrPdfOutput, "");
(RasterSupportType.OcrPlusPdfOutput, "");
(RasterSupportType.OcrPlusPdfLeadOutput, "");
(RasterSupportType.PdfSave, "");
*******
tia,
kai
#2
Posted
:
Wednesday, August 5, 2009 2:44:44 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
The advanced PDF compressor used for producing PDFA files needs additional Codec DLLs.
Are you able to save as PDF/A using our demos? If yes, Try to include Leadtools.Codecs.BMP.DLL to the project. Does it work ?
#3
Posted
:
Thursday, August 6, 2009 12:00:35 AM(UTC)
Groups: Registered
Posts: 7
Leadtools.Codecs.BMP.DLL was missing, now it works.
thx, kai
LEADTOOLS Support
Document
Document SDK Questions
Can not save ocr documents in PDF/A format (OcrDocumentFormat.PdfA)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.