Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afterscan-0.2.3.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page