patcharats / tesseract-ocr

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

Windows Compile with libtiff support #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is possible to compile tesseract with compressed tiff file support ?
(With libtiff ?) Can you help me ?

Original issue reported on code.google.com by sandro.o...@gmail.com on 12 Jun 2007 at 8:18

GoogleCodeExporter commented 9 years ago
I will investigate the options.

Original comment by theraysm...@gmail.com on 7 Jul 2007 at 1:18

GoogleCodeExporter commented 9 years ago
Try http://gnuwin32.sourceforge.net/packages/tiff.htm
Download and run the setup program.
Add HAVE_LIBTIFF to the preprocessor definitions.
Add libtiff.lib to the list of libraries.
Rebuild.
Make libtiff3.dll be in your path somewhere.
You can cheat and copy it to system32, or you can add c:/program 
files/gnuwin32/bin
to your path.
Keep your fingers crossed...

Original comment by theraysm...@gmail.com on 7 Jul 2007 at 2:00

GoogleCodeExporter commented 9 years ago
I missed out of the above steps that you have to modify devstudio
(tools/options/directories) to add the include and lib paths to the list of
directories it looks in.

Original comment by theraysm...@gmail.com on 9 Jul 2007 at 4:52

GoogleCodeExporter commented 9 years ago
 Above problem will be solved in version 2.0?

Original comment by withbles...@gmail.com on 13 Jul 2007 at 11:53

GoogleCodeExporter commented 9 years ago
No, it will remain a manual option. There doesn't seem to be a good way of 
including
libtiff if it is there without generating a compiler error if it is not. For
unix-like operating systems configure does this, but it doesn't work for 
windows and
certainly not for devstudio.
Unless anybody has any better ideas, support for libtiff on windows will have to
remain via the above procedure.

Original comment by theraysm...@gmail.com on 13 Jul 2007 at 6:37

GoogleCodeExporter commented 9 years ago
Do you think it will ever be added very widely used TiffG4 support for this 
product? 
At the moment the only way is to decode first TiffG4 into G3 or uncompressed 
and it's
not so easy.

Thanks a lot in advance.

Luca

Original comment by luxn...@gmail.com on 8 Nov 2007 at 1:15

GoogleCodeExporter commented 9 years ago

Original comment by theraysm...@gmail.com on 20 May 2010 at 6:46