Skip to content

Commit

Permalink
0.5.4: fix include
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Nov 27, 2021
1 parent c10c229 commit 2fca88d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ bin_PROGRAMS = unpaper
MANPAGE_XSL ?= http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl

unpaper_SOURCES = src/unpaper.c include/unpaper.h
unpaper_CFLAGS = -I./include
unpaper_LDADD = libunpaper.la

pkglib_LTLIBRARIES = libunpaper.la
libunpaper_la_SOURCES = src/error.c src/file.c src/imageprocess.c src/parse.c src/tools.c include/unpaper.h
libunpaper_la_CFLAGS = -I./include
libunpaper_la_LDFLAGS = -version-info 5:3:5 -no-undefined
include_HEADERS = include/unpaper.h

Expand Down
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
![GitHub release (latest by date)](https://img.shields.io/github/v/release/ImageProcessing-ElectronicPublications/unpaper)
![GitHub Release Date](https://img.shields.io/github/release-date/ImageProcessing-ElectronicPublications/unpaper)
![GitHub repo size](https://img.shields.io/github/repo-size/ImageProcessing-ElectronicPublications/unpaper)
![GitHub all releases](https://img.shields.io/github/downloads/ImageProcessing-ElectronicPublications/unpaper/total)
![GitHub](https://img.shields.io/github/license/ImageProcessing-ElectronicPublications/unpaper)

# unpaper

Originally written by Jens Gulden — see [AUTHORS](AUTHORS) for more information.

## Overview

`unpaper` is a post-processing tool for scanned sheets of paper, especially for
book pages that have been scanned from previously created photocopies.
The main purpose is to make scanned book pages better readable on screen
after conversion to PDF. Additionally, unpaper might be useful to enhance
the quality of scanned pages before performing optical character recognition
(OCR).

`unpaper` tries to clean scanned images by removing dark edges that appeared
through scanning or copying on areas outside the actual page content (e.g.
dark areas between the left-hand-side and the right-hand-side of a double-
sided book-page scan).

The program also tries to detect misaligned centering and rotation of pages
and will automatically straighten each page by rotating it to the correct
angle. This process is called "deskewing".

Note that the automatic processing will sometimes fail. It is always a good
idea to manually control the results of unpaper and adjust the parameter
settings according to the requirements of the input. Each processing step can
also be disabled individually for each sheet.

Input and output files can be in either `.pbm`, `.pgm` or `.ppm` format, thus
generally in `.pnm` format, as also used by the Linux scanning tools `scanimage`
and `scanadf`.

Conversion to PDF can e.g. be achieved with the Linux tools `pgm2tiff`, `tiffcp`
and `tiff2pdf`.

## LICENSE

Licensed under GNU GPL v2 — see [COPYING](COPYING) for more information.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
AC_PREREQ(2.68)

AC_INIT([unpaper], [0.5.3], [https://github.com/Flameeyes/unpaper/issues], , [https://github.com/Flameeyes/unpaper])
AC_INIT([unpaper], [0.5.4], [https://github.com/Flameeyes/unpaper/issues], , [https://github.com/Flameeyes/unpaper])

AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip foreign])
AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip foreign subdir-objects])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE([enable])

Expand Down

0 comments on commit 2fca88d

Please sign in to comment.