Skip to content

Chocobo1/image_optimize_helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages