Wednesday, February 18, 2009 09:12 PM
hello i want to serialize an image
i know you have to convert it to int[w][h] first
but how can we keep the underlying data representation of the image which is kept in the JPEG or GIF format?
java does well known this because when i load an image with imageicon, it just convert to an int using the algorithm of the JPEG and GIF.
so can we use this algorithm for serialisation?
if not do you know an efficient algotihm to compress an int