Closed
Description
Hello,
I'm working on gigantic '.png' files with dimensions of 100'000x180'000 pixels, which I'd like to process. I would like to threshold the image according to a pixels color value. Is there a better way at doing this, than converting the image to a numpy array and doing the thresholding logic and converting it back into vips format?
The numpy conversion is taking an insane amount of time and memory and I would rather do it only in pyvips.
Is there any other way, I could speed up the whole process by converting all images into a pyramidic file format?
Thanks a lot for the answer and also for the great tool!