Closed Appleweed564 closed 2 years ago
Try written the JPEG to disk, and then reading it back before comparing distortions. Setting converted
properties will not effect the pixel cache. Only when the JPEG encoder is invoked (at time of write) will the properties applied.
Not sure if this is intended but the similarity , get_image_distortion , and compare functions all return base values , when converting from a png to a jpeg.
This is the result metric I get with similarity , get_image_distortion , and compare functions
The output jpg image seems to be consistent with the compression_quality , just the comparison values are a little off.