enamigi / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

Unable to get output for the converttogray.c in leptonica prog directory #106

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Miscrosoft Visual Studio
2. Compile and build the convertogray.c in Visual Studio Command 
3. Run by calling "converttogray E:\Test\input.png" 
OR
"converttogray E:\Test\input.png E:\Test\output.png"

What is the expected output? What do you see instead?
Expected an output of the image converted from RGB to Grayscale.

What version of the product are you using? On what operating system?
Leptonica 1.68 , Windows & 64 bit and MS Visual Studio 2010

Please provide any additional information below.

Original issue reported on code.google.com by smdk...@gmail.com on 6 Sep 2014 at 9:57

GoogleCodeExporter commented 8 years ago
As with issue 105, suggest that you build version 1.71.

Original comment by dan.bloo...@gmail.com on 9 Sep 2014 at 2:37

GoogleCodeExporter commented 8 years ago
See "Building the prog directory programs" [1] for instructions on how to build 
programs like converttogray on Windows. Currently building 64 bit programs is 
not supported. You could build 64 bit versions of the image libraries yourself, 
and then it's not hard to add 64bit Configurations to the VS2008 solution.

[1] http://tpgit.github.io/UnOfficialLeptDocs/vs2008/building-prog-dir.html

Original comment by tomp2...@gmail.com on 12 Jan 2015 at 9:04