Erik Auerswald
4b75b5fb28
Remove ERRORCODES file. This info is included in the man page and the help
...
output of the binary.
2009-08-06 08:07:28 +00:00
Erik Auerswald
e250c6cfd8
Add exit status info to man page.
2009-08-06 08:05:33 +00:00
Erik Auerswald
ff384fad23
Create missing directories when installing files.
2009-08-06 07:24:35 +00:00
Erik Auerswald
0e2e929359
Correct indentation of code that is no longer inside an if () {}.
2009-08-06 04:22:58 +00:00
Erik Auerswald
8f2a3d8f1d
Move declaration of variables used by recognition algorithm to beginning of
...
main function.
2009-08-06 04:16:10 +00:00
Erik Auerswald
d35d5583aa
Change error handling if unable to load the image. This helps reading the code.
2009-08-06 04:11:28 +00:00
Erik Auerswald
f5bc3bf07d
Bump version number to 2.8.2.
2009-08-05 05:15:45 +00:00
Erik Auerswald
5738646605
Use "gray" and "color" consistently (A.E.).
2009-08-05 05:14:45 +00:00
Erik Auerswald
807ff6ac40
Add DESTDIR variable to install target of Makefile.
...
This is in preparation for making a debian package.
2009-08-05 04:13:05 +00:00
Erik Auerswald
577761918a
generate man page and include ssocr version and build date
2009-05-20 14:20:04 +00:00
Erik Auerswald
55ac6a3007
corrected some typos in man page
2009-05-20 13:48:47 +00:00
Erik Auerswald
af401b830a
added a man page, based on HTML documentation from
...
http://www.unix-ag.uni-kl.de/~auerswal/ssocr/
2009-05-19 16:04:15 +00:00
Erik Auerswald
2700473e76
use the correct type of variable (int) to store the reutn value of getopt_long()
...
(this helps portability as well -- otherwise architecures with char == unsigned
char would not be able to parse the options)
2009-02-22 00:17:03 +00:00
Erik Auerswald
a1a060b416
- refactor image processing and online help in seperate files
...
- no functional changes
- this is another step towards refactoring the recognition algorithm
- this is another step towards factoring out the image access routines to
ultimately replace Imlib2 by something else (e.g. gd)
2009-01-06 11:22:10 +00:00
Erik Auerswald
4b8ddc80f7
bump version number to 2.8.0
2008-12-14 11:21:01 +00:00
Erik Auerswald
e37e335586
repair some whitespace damage
2008-12-14 11:19:31 +00:00
Erik Auerswald
511e851692
make the height/width ratio to recognize a 'one' settable by an option
2008-12-14 11:17:48 +00:00
Erik Auerswald
95a1120c57
use a preprocessor constant for height/width threshold to recognize a "one"
2008-12-14 11:05:35 +00:00
Erik Auerswald
0ccef481a1
changed height/width ratio to recognize a one from >2 to >3
2008-12-13 14:34:56 +00:00
Erik Auerswald
b234154459
some reindentation
2008-03-17 09:49:41 +00:00
Erik Auerswald
65e7aec965
remove _imlib from name of ssocr color-setting function
...
(as a step towards replacing Imlib2)
2008-03-13 14:57:34 +00:00
Erik Auerswald
45c6196e55
fix a bug introduced bey the previous refactorization:
...
draw_[fb]g_pixel() called draw_pixel() and therefore ssocr_set_imlib_color()
with an incorrect color argument
2008-03-13 13:43:58 +00:00
Erik Auerswald
f09969d0fa
refactoring: create functions draw_pixel, draw_fg_pixel, and draw_bg_pixel
...
and use them for image processing
ATTENTION! THIS CODE IS CURRENTLY UNTESTED!
2008-03-13 09:11:25 +00:00
Erik Auerswald
ce6d1d6ab4
mark global variables as static
2008-03-13 07:34:14 +00:00
Erik Auerswald
5c1ea41cec
use one flags variable instead of one int variable for each flag
2008-03-09 17:59:49 +00:00
Erik Auerswald
f1543aba59
remove an unneeded #define
2008-03-08 23:13:19 +00:00
Erik Auerswald
0496ac71b6
use '.' for not recognized digits with set segments instead of '?' since
...
'?' inside a number can be easily mistaken to be a '2'.
2008-03-08 15:48:24 +00:00
Erik Auerswald
b022f6046e
debug_output is a global variable -> don't pass it to adapt_threshold()
2008-03-08 15:42:22 +00:00
Erik Auerswald
0e7c6e6e60
refactoring: saving of image is now done with a function
2008-03-07 14:48:13 +00:00
Erik Auerswald
d5c12288eb
bump version number to 2.7.0
2008-03-05 14:18:04 +00:00
Erik Auerswald
8e7f358dc0
added (and corrected) some debugging output
2008-03-03 10:50:45 +00:00
Erik Auerswald
8673a7dca3
clarify licensing terms
2008-03-03 07:53:32 +00:00
Erik Auerswald
ee8dc858e4
lots of re-indentation...
2008-03-02 18:12:27 +00:00
Erik Auerswald
9fa09361e5
added iterative thresholding method
2008-03-02 18:02:09 +00:00
Erik Auerswald
3d202ef60c
expand tabs to spaces
2008-03-02 16:30:28 +00:00
Erik Auerswald
6a6cf7952d
re-indentation of if and for control words
2008-03-02 16:28:04 +00:00
Erik Auerswald
5712564c3c
- refactor "adapt threshold"
...
- fputs doesn't write a newline -> add newlines to fputs() invokations
2008-03-02 16:17:35 +00:00
Erik Auerswald
e45545f7e4
svn:ignore ssocr
2008-03-02 15:53:05 +00:00
Erik Auerswald
3f1f6b86e9
send verbose and debug output to stderr
2008-03-02 15:37:01 +00:00
Erik Auerswald
7c88105708
print version info to stderr if called when printing usage() to stderr
2008-03-02 15:14:01 +00:00
Erik Auerswald
8926c8c2a8
initial import, ssocr version 2.6.3
2008-03-02 15:03:51 +00:00