CreateGdPictureImageFromByteArray with PDF
CreateGdPictureImageFromByteArray with PDF
Hi,
I have the following code:
int ImageID = oGdPictureImaging.CreateGdPictureImageFromByteArray(ref file);
oGdPictureImaging.PdfAddGdPictureImageToPdfOCR(PdfID, ImageID, TesseractDictionary.TesseractDictionaryDutch, "C:\\Program Files\\GdPicture.NET\\Redist\\OCR", "");
oGdPictureImaging.PdfOCRStop(PdfID);
The CreateGdPictureImageFromByteArray return a 0. the byte array contains a PDF file.
Is it impossible to create a gdpicture image from a PDF byte array?
Thanks.
I have the following code:
int ImageID = oGdPictureImaging.CreateGdPictureImageFromByteArray(ref file);
oGdPictureImaging.PdfAddGdPictureImageToPdfOCR(PdfID, ImageID, TesseractDictionary.TesseractDictionaryDutch, "C:\\Program Files\\GdPicture.NET\\Redist\\OCR", "");
oGdPictureImaging.PdfOCRStop(PdfID);
The CreateGdPictureImageFromByteArray return a 0. the byte array contains a PDF file.
Is it impossible to create a gdpicture image from a PDF byte array?
Thanks.
Re: CreateGdPictureImageFromByteArray with PDF
Ok, I found in the manual that gdpictures cannot be created from pdf.
This means that i have to use the gdviewer to create an OCR'd pdf from a pdf file. (with the PdfRenderPageToGdPictureImage function)
This is a problem, as i'm not building a forms application. Is there any other way?
This means that i have to use the gdviewer to create an OCR'd pdf from a pdf file. (with the PdfRenderPageToGdPictureImage function)
This is a problem, as i'm not building a forms application. Is there any other way?
Re: CreateGdPictureImageFromByteArray with PDF
Hi,
This feature is pained for a major update: GdPicture.NET 6.5 (should be available within 2 or 3 months).
With best regards,
Loïc
This feature is pained for a major update: GdPicture.NET 6.5 (should be available within 2 or 3 months).
With best regards,
Loïc
Re: CreateGdPictureImageFromByteArray with PDF
Hi Loïc,
I downloaded the new 6.5 version. But it seems I still can't create a searchable PDF from an existing PDF file with just the GdPictureImaging class.
Can you help me out?
Kind regards,
Rens
I downloaded the new 6.5 version. But it seems I still can't create a searchable PDF from an existing PDF file with just the GdPictureImaging class.
Can you help me out?
Kind regards,
Rens
Re: CreateGdPictureImageFromByteArray with PDF
Hi,
This feature have been reported to GdPicture.NET 6.6, we got too many troubles with the current beta implementation.
However, you can use the GdViewer class in formless process, just implement is like
Kind regards,
Loïc
This feature have been reported to GdPicture.NET 6.6, we got too many troubles with the current beta implementation.
However, you can use the GdViewer class in formless process, just implement is like
Code: Select all
Dim oGdViewer as GdViewer = New GdViewer
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests