From 112c0e6ba7bda23f4ad6c979ec5abda628f2837d Mon Sep 17 00:00:00 2001 From: Konrad Date: Thu, 7 Nov 2024 16:06:31 +0100 Subject: [PATCH] fix: docs corrections One of the background styles (dominant) was not included; the quality is actually an integer --- lib/morandi.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/morandi.rb b/lib/morandi.rb index 1ecff7d..8af4d8b 100644 --- a/lib/morandi.rb +++ b/lib/morandi.rb @@ -27,8 +27,8 @@ module Morandi # @option options [Array[Integer,Integer,Integer,Integer]] 'crop' Crop image (x, y, width, height) # @option options [String] 'fx' Apply colour filters ('greyscale', 'sepia', 'bluetone') # @option options [String] 'border-style' Set border style ('square', 'retro') - # @option options [String] 'background-style' Set border colour ('retro', 'black', 'white') - # @option options [String] 'quality' ('97') Set JPG compression value ('1' to '100') + # @option options [String] 'background-style' Set border colour ('retro', 'black', 'white', 'dominant') + # @option options [Integer] 'quality' (97) Set JPG compression value (1 to 100) # @option options [Integer] 'output.max' Downscales the image to fit within the square of given size before # processing to limit the required resources # @option options [Integer] 'output.width' Sets desired width of resulting image