Skip to content

Instantly share code, notes, and snippets.

@azimut
Last active January 28, 2019 12:18
Show Gist options
  • Save azimut/b76000199779d06fa7cc6d304630375b to your computer and use it in GitHub Desktop.
Save azimut/b76000199779d06fa7cc6d304630375b to your computer and use it in GitHub Desktop.
asdf
> convert -size 100x100 -colorspace sRGB xc:#0000FF blue-rgb.jpg
> convert -size 100x100 -colorspace sRGB xc:#FFFFFF white-rgb.jpg
> ls -ln *jpg
-rw-r--r-- 1 1000 1001 415 Jan 27 22:39 blue-rgb.jpg
-rw-r--r-- 1 1000 1001 203 Jan 27 22:39 white-rgb.jpg
> exiftool -all= blue-rgb.jpg
    1 image files updated
> exiftool -all= white-rgb.jpg
    1 image files updated
> ls -ln *jpg
-rw-r--r-- 1 1000 1001 397 Jan 27 22:40 blue-rgb.jpg
-rw-r--r-- 1 1000 1001 185 Jan 27 22:40 white-rgb.jpg
> identify *.jpg | column -t
blue-rgb.jpg   JPEG  100x100  100x100+0+0  8-bit  sRGB  397B  0.000u  0:00.000
white-rgb.jpg  JPEG  100x100  100x100+0+0  8-bit  Gray  256c  185B    0.000u    0:00.000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment