AMD support
trust_public_id - allow keeping file extension that looks like an image extension