I have a program where I have to serialize a BufferedImage to disk and then read it back in. Currently I'm using a raw image format
ImageIO.getImageReadersByFormatName("raw");
After a lot of testing it seems it's performance varies wildly on the same data (from under a second to 15 seconds).
1. Any idea what is going on to cause this?
2. What is the fastest Image reader/writer in Java to accomplish this task?
Thanks
That said, I'd imagine that png is a generally good choice to try out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With