Turn sloppy photoscans into crisp black and white images
Project description
# Afterscan
![logo](afterscan-logo.JPG)
## Installation
Use python 3
` pip install afterscan `
## Usage
` afterscan [OPTIONS] FILENAME `
Example
` afterscan myimage.jpg --threshold 75 -f `
### Options
` --threshold INTEGER Threshold value between 0 and 255. Default=100 -o, --out TEXT Output path. Default afterscan-[filename] in pwd -i, --invert / --no-invert Invert the image -f, --force / --no-force Overwrite existing file without asking --help Show this message and exit. `
## Demo
When drawing this amazing logo, I found myself having a scan with lines in the background.
By using this command I was able to produce the second image:
` afterscan logo.jpg --threshold 75 -f `
### Before
![image-before](afterscan-logo-before.JPG)
### After
![image-after](afterscan-logo.JPG)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file afterscan-0.2.3.tar.gz
.
File metadata
- Download URL: afterscan-0.2.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa535dc10696440638bb238b39c0687ba5d81b0ad4121f8d401a243018b4cd51 |
|
MD5 | 86c858dad8e92f4de8f96ff902e5bfd3 |
|
BLAKE2b-256 | 095287eb38fde82c7511961d94c4bbadf6fc4c1447245ca716fc7f8f345f12ce |