Returns the thumbnail if it is jpeg compressed, or null if none exists.
the thumbnail as a byte array.