Sha256: 56c56e7c48d77b1e1246075aae370120aa31ec3bdab624f8f5006bb4f6b159af

Contents?: true

Size: 502 Bytes

Versions: 5

Compression:

Stored size: 502 Bytes

Contents

module Magro
  module IO
    def self?.imread: (String filename) -> Numo::UInt8?
    def self?.imsave: (String filename, Numo::UInt8 image, ?quality: Integer) -> bool

    private

    def self?.read_jpg: (String filename) -> Numo::UInt8
    def self?.read_png: (String filename) -> Numo::UInt8
    def self?.save_jpg: (String filename, Numo::UInt8 image, Integer? quality) -> bool
    def self?.save_png: (String filename, Numo::UInt8 image) -> bool
    def self?.url?: (String str) -> bool
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
magro-0.6.2 sig/magro/io.rbs
magro-0.6.1 sig/magro/io.rbs
magro-0.6.0 sig/magro/io.rbs
magro-0.5.1 sig/magro/io.rbs
magro-0.5.0 sig/magro/io.rbs