There's an app that can tell whether an image is from the camera or the gallery; there used to be ways to trick it, like with Fake Camera or Virtual Camera, but those don't work anymore.