Skip to content

lichih/png-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

png-resize

Command line tool to resize PNG images

Usage: python -m png-resize.c [OPTIONS] [SRCPATHS]... DSTPATH

  png-resize

Options:
  -d, --dry / -r, --run  Dry Run.  [required]
  -f, --force            Dry Run.
  -n, --first INTEGER    First N Files To Resize
  --help                 Show this message and exit.

Installation

pip install git+https://github.com/lichih/png-resize.git@master

Usage

python -m png-resize.c `wslpath 'D:\rsync\eir\resource'`

todo

import pyguetzli
from PIL import Image

image = Image.open("./test/image.jpg")
optimized_jpeg = pyguetzli.process_pil_image(image)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages