1 2 3 4 5
require "krosskritacore" doc = Krosskritacore::get("KritaDocument") image = doc.getImage() image.convertToColorspace("LABA")