Sha256: ad900d34a8abd5d9e11b3285f5518b49fe8ccdb95b60c4b5741c86976e2fefd1

Contents?: true

Size: 256 Bytes

Versions: 14

Compression:

Stored size: 256 Bytes

Contents

module Fleximage
  module Operator
    
    # Trim off all the pixels around the image border that have the same color.
    #
    #   image.trim
    class Trim < Operator::Base
      def operate()
        @image.trim!(true)
      end
    end
    
  end
end

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
tvdeyen-fleximage-1.2.0 lib/fleximage/operator/trim.rb
tvdeyen-fleximage-1.1.1 lib/fleximage/operator/trim.rb
tvdeyen-fleximage-1.0.9 lib/fleximage/operator/trim.rb
tvdeyen-fleximage-1.0.8 lib/fleximage/operator/trim.rb
tvdeyen-fleximage-1.0.7 lib/fleximage/operator/trim.rb
robinboening-fleximage-1.0.6 lib/fleximage/operator/trim.rb
robinboening-fleximage-1.0.4 lib/fleximage/operator/trim.rb
tvdeyen-fleximage-1.0.5 lib/fleximage/operator/trim.rb
fleximage-1.0.4 lib/fleximage/operator/trim.rb
dougmcbride-fleximage-1.0.3 lib/fleximage/operator/trim.rb
fleximage-1.0.3 lib/fleximage/operator/trim.rb
fleximage-1.0.2 lib/fleximage/operator/trim.rb
fleximage-1.0.1 lib/fleximage/operator/trim.rb
fleximage-1.0.0 lib/fleximage/operator/trim.rb