This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Don't modify the alpha channel to be opaque if last num != 0

By: a guest on Dec 24th, 2012  |  syntax: Diff  |  size: 1.09 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -aur AwOken-2.4/AwOken/extra/colorscripts/colorationextra.sh AwOken-2.4.modified/AwOken/extra/colorscripts/colorationextra.sh
  2. --- AwOken-2.4/AwOken/extra/colorscripts/colorationextra.sh     2012-12-24 01:47:24.719795270 -0800
  3. +++ AwOken-2.4.modified/AwOken/extra/colorscripts/colorationextra.sh    2012-12-24 01:49:35.423160905 -0800
  4. @@ -10,7 +10,7 @@
  5.  let "M=100-(100*$G)/255"
  6.  let "Y=100-(100*$B)/255"
  7.  
  8. -command="-colorize $C/$M/$Y"
  9. +command="-colorize $C/$M/$Y/0"
  10.  #command="-sigmoidal-contrast 6x1"
  11.  
  12.  COL=${color:0:3}${color:4:3}${color:8:3}
  13. diff -aur AwOken-2.4/AwOken/extra/colorscripts/colorationscript.sh AwOken-2.4.modified/AwOken/extra/colorscripts/colorationscript.sh
  14. --- AwOken-2.4/AwOken/extra/colorscripts/colorationscript.sh    2012-12-24 01:47:24.719795270 -0800
  15. +++ AwOken-2.4.modified/AwOken/extra/colorscripts/colorationscript.sh   2012-12-24 01:48:58.889818551 -0800
  16. @@ -10,7 +10,7 @@
  17.  let "M=100-(100*$G)/255"
  18.  let "Y=100-(100*$B)/255"
  19.  
  20. -command="-colorize $C/$M/$Y"
  21. +command="-colorize $C/$M/$Y/0"
  22.  #command="-sigmoidal-contrast 6x1"
  23.  
  24.  COL=${color:0:3}${color:4:3}${color:8:3}
clone this paste RAW Paste Data