I use sockets to send jpg images from server (android) to client. I want to attach timestamps to these images which are of type long
. Since these images are already processed by image filters I don't want to save them before transmission, so using ExifInterface
seems impossible. I therefore tried to use IIOMetadata
but never got it to work. I dont want to use external libs like senselan.
What is the easiest way to do it? If using IIOMetadata
is the best way to do it, could you please provide me with a working example on how to attach this to my byte[]
and extract it later?