Python Forum

Full Version: Reading coordinates in tiff images using PyQt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(Dec-21-2020, 07:20 PM)deanhystad Wrote: [ -> ]Your image is not 400-500 MBytes, the compressed image is. What is the actual size of your images (pixel count)?

What is the program doing when it runs out of memory? I looked at some of the code in this post a while back and I saw it loaded an image and then converted to greyscale. I think you would save a lot of memory by converting the file as it loads.

Which lines are you referring to?
I googled and people suggest to downsample the image on similar situations, but I will lose significant information...

Also, I do not see any black-white conversion on the above code.

Any idea how to mitigate this enormous RAM usage?
Pages: 1 2 3