Tiff as byte , need to convert to jpeg, and end up with OutputStream?
I have searched everywhere, but mostly people are opening image files, converting, and writing out to files.
I have a SINGLE tiff image (not multi) in memory as a byte , I have included the JAI jars, in Eclipse, and need to
1) convert the image to Jpeg.
2) end up with an InputStream to return it to another application that will
put it in a reports file.
I've tried understanding the JAI documentation, but most of it seems geared to writing to screen, or file, and input from a file.
Any pertinent code examples would really help!