Skip to content

Crops transparent pixels from the edge of a png image.

Notifications You must be signed in to change notification settings

jwitcig/image-crop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-crop

Crops transparent pixels from the edge of a png image.


Usage

To crop a single image:

node crop.js /uncropped.png /cropped.png
node crop.js /original-filename.png /output-directory

>> output: /output-directory/original-filename.png

To crop a all images in a directory:

node crop.js /source-images /output-directory

About

Crops transparent pixels from the edge of a png image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published