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 1969463
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
(s/def ::decode-image-opts-2 (s/keys :opt-un [::color ::to-rgb ::output]))

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

Expand Down

0 comments on commit 1969463

Please sign in to comment.