(if (= imageMode RGB) (do-color-stuff) (do-grey-stuff) ) (if (or (= imageMode RGB) (= imageMode RGBA)) (do-color-stuff) (do-grey-stuff) )
(if (= imageMode RGB) (do-color-stuff) (do-grey-stuff) ) (if (or (= imageMode RGB) (= imageMode RGBA)) (do-color-stuff) (do-grey-stuff) )