     [java.awt.geom AffineTransform]))
 
 
+(set! *warn-on-reflection* true)
+(set! *unchecked-math* true)
+
+
 (defn- generate-random-int-pixel
+  ^long
   []
   (think-pixel/pack-pixel (rand-int 255) (rand-int 255) (rand-int 255) 255))
 

    out-image))

;; From BenB
(defn- rotate-img-emb-impl [img r x y]
  (let [w (.getWidth img)
        h (.getHeight img)
        at (new java.awt.geom.AffineTransform)

  [^BufferedImage img noise-ratio]
  (let [width (.getWidth img)
        height (.getHeight img)
        ^ints pixels (imagez/get-pixels img)
        num-pixels (alength pixels)
        num-noisy-pixels (* noise-ratio num-pixels)
        locations-to-edit (take num-noisy-pixels (shuffle (range num-pixels)))
