My j2me application must take a photo, edit it a little and save it somewhere (or send to server).
Camera return me bytes of an image in jpg format, but after I create an Image object from it (using Image.createImage()), I could not pack it back to jpg.
Is there any jpeg encoders for j2me?
I found one written in j2se, but it uses j2se-specific classes.
By the way, since JSR 234 is not supporting on many devices, I take Sun’s JIMI image library and port JPEG-encoding part to j2me. It works fine and doesn’t use too much memory.