Photographic JPG files of everything but the canonical white cat in snowstorm or black cat in a coal cellar are fairly high coding entropy typically S = 5.5 or higher, but that is still only about 250 states of good entropy per byte. And you can make some pretty good guesses about the relative frequencies of the possible byte values.
Any decent random number generator has to be very close to 256 states per byte over the long term, with S= ln(256) = 5.545177. I use entropy to detect valid fragments of damaged JPEG files in image recovery.
I once constructed for curiosity the lowest possible entropy JPEG which turns out to be grey cat in a grey fog with entropy ~ 0.04 and consists of 99.6% "00" bytes yeilding an average 0.03 bits/pixel on a 6M image.
Not random. Too much is known about the internal structure and statistical properties. I doubt if it would stand up for long.
By knowing that the JPEG output is the result of Huffman coding and making educated guesses about the frequency of the unavoidable "0" terminate JPEG block coefficients in the input stream. Get one symbol at a time by guessing at the codes.
"FF" in the input stream is always escaped as "FF,00" which is another serious weakness. Often those two symbols are 2x more frequent in a relatively good JPEG image - slightest blur and you get loads of truncation in the JPEG blocks = more clues for the attacker.
Any known correlations in a one time pad are *really* bad. Knowing it was encoded with a JPEG stream immediately tells me something about the long term 0:1 bias ratio in the pad and again that provides clues.
Off the top of my head I think that if you took two independent JPEG image data streams and XOR them byte for byte the resulting binary would be much closer to 256 states per byte of entropy. But I haven't tried it. There could still be serious problems in clear blue sky for instance...
Hiding messages inside the JPEG encoding is a recognised trick that goes by the name of steganography (the Greeks invented it).
A secret message potentially hidden in plain sight.
Regards, Martin Brown