require "krosschalkcore" doc = Krosschalkcore::get("ChalkDocument") image = doc.getImage() image.convertToColorspace("LABA")