This is possible using the weld / trim functionallity. Direct image cropping is not available. Learn more: https://www.troteclaser.com/en-ae/learn-support/ruby-help/dealing-with-images-in-ruby