I have got a large TIFF file (~160000x50000 px @ 3,5 GB) and I need to extract PNG tiles of 256x256 px out of it in order to overlay it on a map.
I tried ImageMagick with magick stream -extract 256x256+xOffset+yOffset source.tif tileXXX.png
but there was no result beside my pc building a huge cache file and quit working.
How can this task be approached efficiently?