Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

print-prep

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

print-prep

Quick lossless image ratio converter

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

print-prep

Digicam photo prep for print shops.

Build Status

Help

printprep [<source>] [<destination>] [<options>]

source          Defaults to current directory
destination     Defaults to the same as source

Options:
-p, --position   Position photo at center, left, or right, defaults to `--position=right`.
-c, --color      Background color, if original photo does not fill up the whole resulting photo, defaults to `--color=white`.
-b, --background Background image.
-r, --ratio      Resulting ratio, defaults to `--ratio=3:2`.
-n, --normalize  Enhance output photo contrast by stretching its luminance to cover the full dynamic range.
-e, --ext        Specify extensions, defaults to `--ext=jpg,jpeg,tiff,png`.
-f, --fillup     Expand to fill up the whole resulting photo, may lose parts of source, defaults to unset (false).
-o, --occupancy  Specify the percentage of photo occupancy. Setting this automatically enables `--fillup`.

Notes

  • printprep always rotate photos to landscape because printers are orientation agnostics.

Keywords

FAQs

Package last updated on 02 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc