pyguymer3.image.jpegtran¶
- pyguymer3.image.jpegtran(fname1, /, *, chunksize=1048576, debug=True, jpegtranPath=None, timeout=60.0)[source]¶
“jpegtran” does not modify, but it does touch, the image even if it cannot make it smaller, therefore it is NOT safe to keep on running “jpegtran” on the same JPG over and over again.
- chunksizeint, optional
the size of the chunks of any files which are read in (in bytes)