Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -x
- convert -size 1000x1000 canvas:white date1.png
- sleep 2
- convert -size 1000x1000 canvas:white date2.png
- sleep 2
- convert -size 1000x1000 canvas:white date1.jpg
- sleep 2
- convert -size 1000x1000 canvas:white date2.jpg
- #f="+set date:create +set date:modify"
- #f="-define png:exclude-chunks=time"
- #f="-define png:exclude-chunks=tIME"
- f="-define png:exclude-chunks=date,time"
- #f="-define png:exclude-chunks=date -define png:exclude-chunks=time"
- sleep 2
- convert -size 1000x1000 canvas:white $f nodate1.png
- sleep 2
- convert -size 1000x1000 canvas:white $f nodate2.png
- identify -verbose date1.png > date1.png.i
- identify -verbose date2.png > date2.png.i
- identify -verbose date1.png > date1.jpg.i
- identify -verbose date2.png > date2.jpg.i
- identify -verbose nodate1.png > nodate1.png.i
- identify -verbose nodate2.png > nodate2.png.i
- openssl md5 date[12].png
- openssl md5 date[12].jpg
- openssl md5 nodate[12].png
- diff -u date1.png.i date2.png.i
- diff -u date1.jpg.i date2.jpg.i
- diff -u nodate1.png.i nodate2.png.i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement