grierson 2019-06-18T20:17:33.002100Z

Keep getting ‘:cause background image must be the same size as your application’ but image matches size?

grierson 2019-06-18T20:19:46.004Z

created a data folder in the same folder as my draw.clj

pez 2019-06-18T20:19:57.004300Z

I recognize having problems with this, but can’t for the life of me recall what it was about…

grierson 2019-06-18T20:24:02.004800Z

Do you know how I can get the height and width of an image?


In Windows Explorer, I sometimes add a Dimensions column to my list of images. I usually resize an image in The Gimp and see the size of it there.


I found an example where I measure an image in quil. I think it's java interop.

(defn setup []
  (q/frame-rate 12)
  (let [img  (q/load-image "/resources/img-a.jpg")]
    (println (str (.width img) " " (.height img)))))