I'm attempting to encode a large quantity of BufferedImages to JPEG using the ImageWriter class in javax.imageio. Unfortunately, the encoding operation is quite slow (about 80 to 250 ms per image, not including writing to disk.) This encoding stage ends up being the slowest part of my app, so I'm hoping to optimize it.
Does anyone know of an alternative to the ImageIO package that may be faster?