pyguymer3.image.manuallyOptimisePng

pyguymer3.image.manuallyOptimisePng(pName, /, *, calcAdaptive: bool = True, calcAverage: bool = True, calcNone: bool = True, calcPaeth: bool = True, calcSub: bool = True, calcUp: bool = True, debug: bool = True, dpi: None | int = None, modTime=None)[source]

Manually optimise a PNG image.

This function will load a PNG image and recreate it in RAM. If the stored source in RAM is smaller than the source on disk then the PNG file will be overwritten.

Parameters:

Notes

Copyright 2017 Thomas Guymer [1]

References