def cut!
      create_backup_copy
      MiniMagick::Tool::Mogrify.new do |mogrify|
        mogrify.resize(max_size)
        mogrify.strip
        if jpeg?
          mogrify.colorspace(Kirigami.config.jpeg_colorspace)
          mogrify.sampling_factor(Kirigami.config.jpeg_sampling_factor)
          mogrify.interlace(Kirigami.config.jpeg_interlacing)
          mogrify.quality(Kirigami.config.jpeg_compression_quality)
        end
        mogrify << target_filepath
      end
    end
def cut!
      create_backup_copy
      MiniMagick::Tool::Mogrify.new do |mogrify|
        mogrify.resize(max_size)
        mogrify.strip
        if jpeg?
          mogrify.colorspace(Kirigami.config.jpeg_colorspace)
          mogrify.sampling_factor(Kirigami.config.jpeg_sampling_factor)
          mogrify.interlace(Kirigami.config.jpeg_interlacing)
          mogrify.quality(Kirigami.config.jpeg_compression_quality)
        end
        mogrify << target_filepath
      end
    end
Create a new Image

 max_size - An ImageSize to specify the size and name of image.
 Cuts the File down to size! Creates a backup copy first, if required.