using im4java as im4clj doesn't support bufferedimages yet; add basic comparisons and deletion