A Principled Design of Image Representation: Towards Forensic Tasks