On Mon, May 12, 2014 at 6:28 PM, Michael Shaffer <biocgef...@gmail.com> wrote:
> What dependencies do I add to leiningen to get javax.imageio package?

None, as far as I can tell..

(ns imagetest.core
  (:import [javax.imageio ImageIO])
  (:gen-class))

(defn foo []
  (let [x (ImageIO/getReaderMIMETypes)]
    x))

(defn -main []
  (println (seq (foo))))

$ lein run
(image/jpeg image/png image/x-png image/vnd.wap.wbmp image/gif image/bmp)

Worked without problem.

Lars Nilsson

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to