Search found 4 matches

by tfierens2
Wed Jan 17, 2018 11:04 am
Forum: Example requests & Code samples
Topic: Image Type Detection?
Replies: 4
Views: 121

Re: Image Type Detection?

Will do. Thanks David.
by tfierens2
Tue Jan 16, 2018 1:27 pm
Forum: Example requests & Code samples
Topic: Image Type Detection?
Replies: 4
Views: 121

Re: Image Type Detection?

Thanks David.

I'll probably find the list of files GdPicture supports and create a function to check the extension as it will be more efficient and less resource intensive than opening the file. Not perfect but it will do.

Thanks.
by tfierens2
Fri Jan 12, 2018 6:10 pm
Forum: Example requests & Code samples
Topic: Image Type Detection?
Replies: 4
Views: 121

Image Type Detection?

Hi, Is there a way to detect the supported image types at run-time? For example, I'd like to check the file being currently processed and ensure it is supported by GdPicture before attempting to process it. Something like this: if (gdPictureImaging.IsValidImageType(fileName)) { ... convert to pdf } ...
by tfierens2
Tue Jan 09, 2018 1:30 pm
Forum: Tesseract OCR
Topic: Extracting Words and Coordinates using Tesseract
Replies: 8
Views: 3723

Re: Extracting Words and Coordinates using Tesseract

While the function provided by @EFernkaes is useful, it doesn't appear to be accurate as it is not handling "end of line" unless I'm missing something but the last word of my line is always appended to the first word of the next line. I assume that it is because he/she is using the 'OCRTesseractGetC...