See Robust_image_source_identification_on_modern_smartphones/commit/0bd9e57942d87255200a11935b5019723b2d3afa.