Sha256: b04287d43dbfd7bb3b5e44939caf5bf5186cb5519265aaa7d17590a4a0ad1cf6

Contents?: true

Size: 695 Bytes

Versions: 4

Compression:

Stored size: 695 Bytes

Contents

module ::Vips
  class Image
    def self.new_from_file: (String filename) -> Image
  end
end

module Capybara
  module Screenshot
    module Diff
      module Drivers
        class VipsDriver < BaseDriver[Vips::Image]
          class VipsUtil
            def self.difference_area: (Vips::Image old_image, Vips::Image new_image, ?color_distance: ::Integer) -> Numeric

            def self.difference_area_size_by: (Vips::Image difference_mask) -> Numeric

            def self.difference_mask: (Vips::Image, Vips::Image, ?Numeric? color_distance) -> Vips::Image

            def self.difference_region_by: (Vips::Image diff_mask) -> Region?
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capybara-screenshot-diff-1.8.3 sig/capybara/screenshot/diff/drivers/vips_driver.rbs
capybara-screenshot-diff-1.8.2 sig/capybara/screenshot/diff/drivers/vips_driver.rbs
capybara-screenshot-diff-1.8.1 sig/capybara/screenshot/diff/drivers/vips_driver.rbs
capybara-screenshot-diff-1.8.0 sig/capybara/screenshot/diff/drivers/vips_driver.rbs