mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
cms: import deterministic ICC creation-date policy
This commit is contained in:
1 parent
05d01a5c05
commit
84c84a36fa
1 file changed
+7
@@ -35,3 +35,10 @@ fn align_tags(b: &[u8]) -> Vec<u8> {
|
||||
out
|
||||
}
|
||||
|
||||
fn fixed_date(mut b: Vec<u8>) -> Vec<u8> {
|
||||
if let Some(date) = b.get_mut(24..36) {
|
||||
date.fill(0);
|
||||
}
|
||||
b
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user