AmitGorvadiya / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Feature Request: use libmagic to determine filetype #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in imgio.cpp the code uses file extensions to determine filetype
2.
3.

What is the expected output? What do you see instead?

You could use libmagic.c to determine the file type.
libmagic will return if  a tiff file is little-endian or big-endian.

What version of the product are you using? On what operating system?

2.03-2 in Debian

Please provide any additional information below.

I could work on a patch with a bit of help to make the code able to compile
in windows.

Original issue reported on code.google.com by nesk...@gmail.com on 4 Nov 2008 at 12:02

GoogleCodeExporter commented 9 years ago
Effective duplicate of 163. Will be fixed by use of leptonica to read images.

Original comment by theraysm...@gmail.com on 14 Nov 2008 at 3:44