Class: ImgToScript::MK90ClientAPI::ImageProcessor
- Inherits:
-
Object
- Object
- ImgToScript::MK90ClientAPI::ImageProcessor
- Defined in:
- lib/img_to_script/mk90_client_api/image_processor.rb
Overview
Resizes the image and converts to binary.
Instance Method Summary collapse
-
#call(image:, **kwargs) ⇒ Magick::BinMagick::Image
Call image processor.
Instance Method Details
#call(image:, **kwargs) ⇒ Magick::BinMagick::Image
Call image processor.
17 18 19 20 21 22 23 24 |
# File 'lib/img_to_script/mk90_client_api/image_processor.rb', line 17 def call(image:, **kwargs) _call( image: image, scr_width: ImgToScript::Languages::MK90Basic::SCR_WIDTH, scr_height: ImgToScript::Languages::MK90Basic::SCR_HEIGHT, **kwargs ) end |