When using the same image source more then once, using a md5 hash of the image itself will cause the same image to be overwritten time and time again if you redo the resize for another screen... resulting in an ever changing image size.
This change fixes that and the resize function replacement ImageOps.fit will speed up the image processing compared to the orignal without sacrificing the quality too much, while preserving the aspect ratios.
When using the same image source more then once, using a md5 hash of the image itself will cause the same image to be overwritten time and time again if you redo the resize for another screen... resulting in an ever changing image size.
This change fixes that and the resize function replacement ImageOps.fit will speed up the image processing compared to the orignal without sacrificing the quality too much, while preserving the aspect ratios.