I will only need to use the compressed file to compare it with another gif, meaning it need not retain its format or be decompressed, but just a unique identifier of the image.
I have a huge list of compress gif images.
I can then take an uncompressed gif image, compress it, and compare (the bytes) with the list of compressed ones, to find whether there is a match (duplicate).
(I can just use and compare uncompressed images but it takes too much disk space)
What I've tried:
- Compressing the bytes using GZipStream. - doesn't seem to reduce the file size
- Converting to jpg with lower quality - reduces size from ~2kb to ~1kb (not enough) even with very low quality
How can I do this?
This post has been edited by byrandomby1: 21 September 2012 - 08:22 AM