From 698569f8428ca088f764d704034a1330517b98c0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 26 Jun 2011 00:41:16 +0000 Subject: Finish rebranding of Krita as Chalk git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238363 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- chalk/plugins/viewplugins/scripting/samples/ruby/changecs.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 chalk/plugins/viewplugins/scripting/samples/ruby/changecs.rb (limited to 'chalk/plugins/viewplugins/scripting/samples/ruby/changecs.rb') diff --git a/chalk/plugins/viewplugins/scripting/samples/ruby/changecs.rb b/chalk/plugins/viewplugins/scripting/samples/ruby/changecs.rb new file mode 100644 index 00000000..be7c0d89 --- /dev/null +++ b/chalk/plugins/viewplugins/scripting/samples/ruby/changecs.rb @@ -0,0 +1,5 @@ +require "krosschalkcore" + +doc = Krosschalkcore::get("ChalkDocument") +image = doc.getImage() +image.convertToColorspace("LABA") -- cgit v1.2.1