I am currently using a ByteArrayOutputStream to convert BufferedImage to byte[] and then the open source class Base64Coder to convert the byte[] to char[] and then appending to a String. This is one part of a multi-step process for encoding frame sets of videos and putting them in XML friendly format. Don't ask why I am doing this, that is just what needs to be done.
I am seeing that the Base64 encoding takes up ~75% CPU time of the entire process and seeing as I just grabbed this random class off a google search, I'm certain there is something more efficient out there to encode the images. What are my options guys?