Repository navigation
|
Is there a guarantee that decoding an image with a given format will always produce identical pixel values across different environments (e.g. different machines, OSes, crate versions, or decoder backends)? I’m computing hashes of the decoded raw pixel buffer and want to understand how stable this output is. Specifically, if I decode the same image file using the image crate: Will the resulting pixel values always be identical? I’m trying to determine whether hashing raw decoded pixels is a reliable long-term strategy for content fingerprinting, or whether I should expect occasional changes across versions/environments. |
Replies: 1 comment
No, there's outstanding problems with color treatment and still then it's not always a best output.
Yes, definitely.
We do not guarantee it, but there is an effort to ensure consistency. In particular |
No, there's outstanding problems with color treatment and still then it's not always a best output.
Yes, definitely.
We do not guarantee it, but there is an effort to ensure consistency. In particular
png,tiff,jpegandgifcrates would treat this as a bug.