Tho*_*mas 9 python jpeg python-imaging-library
我使用python来保存较小质量的jpeg
im = Image.open(file)
im.save(cached_file, quality=80, optimize=True, progressive=True)
Run Code Online (Sandbox Code Playgroud)
但是,在某些图像中,新图像的文件大小比原始图像大.怎么会发生这种情况?
原始图像是否有可能保存质量<80?那么,您基本上使用更多空间来保存重建的工件?