Detecting photographic and computer generated composites