Answers for "calculate darkness value of an image"

0

calculate darkness value of an image

convert  original.jpeg  -colorspace hsb  -resize 1x1  txt:-

  # ImageMagick pixel enumeration: 1,1,255,hsb
  0,0: ( 61, 62,134)  #3D3E86  hsb(24.1138%,24.1764%,52.4941%)

#The 'brightness' values you see here (either of 134, #86 or 52.4941%) is probably what you want to know.
Posted by: Guest on November-30-2020

Code answers related to "calculate darkness value of an image"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language