I'm pretty sure the compression is written into the jpeg file. maybe jpeg2000 has some of that weird stuff, but you can just open a file in an editor and it will be the same every time. Which even if it's not written into the file and is written into the algorithm, comes out to the same result so the point is moot.