I think this is sort of an interesting problem. How would one identify useless data in a JPEG file and delete it? You know, stuff that some programs may leave in there?
Printable View
I think this is sort of an interesting problem. How would one identify useless data in a JPEG file and delete it? You know, stuff that some programs may leave in there?
Look, there is NO useless data in JPGs, they were made to be the smallest possible :)
Noooo, lookit here:
http://www.pppr.sk/rainbow/programs.html#JPG Cleaner
I want to do this in VB. There are some bytes that need to be deleted and I need to know where they are. Thanks.
Try looking at the JFIF file specification.
There's another way, you can try downloading that program and using it in a JPG loaded with junk. Then compare it with the original JPG, and see the differences :)
I found the code I want at Planet Source Code. I know the difference in size is barely there, but it's still a nice thing to be able to do.