Search found 6 matches

by BennyCUAG
Fri Mar 13, 2015 4:38 pm
Forum: COM interoperability
Topic: [Delphi] LoadFromIStream
Replies: 1
Views: 10102

[Delphi] LoadFromIStream

Hello. We are using GDPicture with Delphi. It seems that using LoadFromIStream causes a memoryleak (fastmm ). Here is a sample code: ms := TMemoryStream.Create(); ms.LoadFromFile('C:\temp\test.pdf'); DociStream := TStreamAdapter.Create(ms,soOwned); GdPicturePDF1 := CreateComObject(CLASS_GdPicturePDF...
by BennyCUAG
Mon Jul 22, 2013 11:46 am
Forum: OCR, MRC & Document understanding
Topic: PDF with (already recognized) text and (non recogn.) Images
Replies: 1
Views: 10316

PDF with (already recognized) text and (non recogn.) Images

Hello, we have a OCR-PDF file with both, text and embedded images. The text is already recognized (100% correct) by an OCR engine, the image is not. It is posible to get a full OCR-PDF with the OLD recognized text and the new text from the embedded images?? With: - GdPictureImaging1.PdfOCRStart Imag...
by BennyCUAG
Thu Apr 18, 2013 3:24 pm
Forum: OCR, MRC & Document understanding
Topic: PDF->PDF with OCR->Reducing DPI
Replies: 1
Views: 10498

PDF->PDF with OCR->Reducing DPI

Hello, we build searchable PDFs with the following function: if (oGdPicturePDF.LoadFromFile(pFile, false) == GdPicture9.GdPictureStatus.OK) { pdfID = oGdPictureImaging.PdfOCRStart(pOcrFile, true, title, author, subject, keywords, creator); if (pdfID == 0) { return false; } for (int i = 1; i <= oGdPi...
by BennyCUAG
Tue Feb 05, 2013 5:38 pm
Forum: COM interoperability
Topic: Using _Stream in Delphi
Replies: 5
Views: 13551

Re: Using _Stream in Delphi

Unfortunately there is no chance to get a (OCR) PDF (from a picture) as a Stream, isnĀ“t it?
The GdPictureImaging.SaveAsPDF Methods have only _Stream parameters.. :|
by BennyCUAG
Tue Jul 03, 2012 11:30 am
Forum: COM interoperability
Topic: Using _Stream in Delphi
Replies: 5
Views: 13551

Re: Using _Stream in Delphi

Hello,
is there an new SaveAsIStream Method in Version 9?
by BennyCUAG
Wed Mar 07, 2012 7:05 pm
Forum: COM interoperability
Topic: Using _Stream in Delphi
Replies: 5
Views: 13551

Using _Stream in Delphi

Hello, we have problems using "stream methods" like GdPictureImaging.SaveAsStream In Delphi the signature looks like this: function SaveAsStream(ImageID: Integer; const Stream: _Stream; ImageFormat: DocumentFormat; EncoderParameter: Integer): GdPictureStatus; safecall; _Stream is defined i...