GraphicsMagick+im4java can handle it. GraphicsMagick does not need to read the entire image into the memory. It is much more efficient than using the native one. You can search and see. In the past, we used GraphicsMagick to process image cropping
The idea can be changed. Obviously the compressed image can be stored in the memory, and large images should be partially read and processed before being put into the compressed graphics. In general, this problem is not difficult, just change the idea.
GraphicsMagick+im4java can handle it. GraphicsMagick does not need to read the entire image into the memory. It is much more efficient than using the native one. You can search and see. In the past, we used GraphicsMagick to process image cropping
You can try it
ImageMagick
You can try it, I’m not sure if it will work either
The idea can be changed. Obviously the compressed image can be stored in the memory, and large images should be partially read and processed before being put into the compressed graphics. In general, this problem is not difficult, just change the idea.