Open valentinitnelav opened 2 years ago
This is because the PIL | Image.show() method opens a temporary PNG file for the current image file (under Windows).
PIL | Image.show()
In im.show(title=img_path) title doesn't work as expected, see:
im.show(title=img_path)
https://github.com/python-pillow/Pillow/issues/5739
title – Optional title. Not all viewers can display the title. From: https://pillow.readthedocs.io/en/stable/reference/ImageShow.html
title – Optional title. Not all viewers can display the title.
On Unix platforms, this method saves the image to a temporary PPM file, and calls the xv utility. On Windows, it saves the image to a temporary BMP file, and uses the standard BMP display utility to show it (usually Paint). From: https://www.geeksforgeeks.org/python-pil-image-show-method/
On Unix platforms, this method saves the image to a temporary PPM file, and calls the xv utility. On Windows, it saves the image to a temporary BMP file, and uses the standard BMP display utility to show it (usually Paint).
Not sure if I can solve this for now or if it will prove to be problematic for our workflows. Possibly check image visualization with opencv-python.
This is because the
PIL | Image.show()
method opens a temporary PNG file for the current image file (under Windows).In
im.show(title=img_path)
title doesn't work as expected, see:https://github.com/python-pillow/Pillow/issues/5739
Not sure if I can solve this for now or if it will prove to be problematic for our workflows. Possibly check image visualization with opencv-python.