Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

image_optimize_helpers

Notes for myself

Most of the time, I'll want:

python enumFiles.py | concurrent -
  • enumFiles.py:

    Enumerate files in a directory (and subdirectories).

    • recurisve = True: list files in subdirectories.

    • ext = None: list all files.

      ext = "png": list only PNG files.

  • transcode.py

    All the hard work of manipulating files safely & handling unicode filenames are done here.

    • Choose 1 helper function from the below list:

      Helper Notes
      runDeflopt() Optimize PNG files via Deflopt
      runOptipng() Optimize PNG files via OptiPNG.
      runPngout() Optimize PNG files via PNGOUT.
      optimizePNG() A sequence of actions (that I often use) to compress PNG files.
      runJpegoptim() Optimize JPG files via jpegoptim.
      runCwebp() Run WebP.
  • concurrent

    A tool to utilize multicore CPU.

About

scripts for batch optimizing image files

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages