Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
change color-flag to color in color->int
Browse files Browse the repository at this point in the history
  • Loading branch information
Chouffe committed Jun 2, 2019
1 parent dcde032 commit c665fdc
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@
(s/def ::color #{:grayscale :color})
(s/def ::decode-image-opts-2 (s/keys :opt-un [::color ::to-rgb ::output]))

(defn- color->int
[color-flag]
(case color-flag
(defn- color->int [color]
(case color
:grayscale 0
:color 1))

Expand Down

0 comments on commit c665fdc

Please sign in to comment.