Hello,

I'm a noob in java programming.
Currently I'm dealing with C328R CMOS camera which is a image sensor with JPEG compression.
The camera transmit the JPEG-compressed data in packets and a group of packets forms a frame (one image per frame). Each packet has an ID so the sequence of the packet can be traced. It uses serial transmission to communicate to the PC.

For now, I have no problem to read the data serially as I just read the inputStream. The problem is I have no idea on how to convert every frame into image.

Any hints for me to work with?

Thanks for any reply ^^