Class: Xberg::ImageExtractionConfig
- Inherits:
-
Object
- Object
- Xberg::ImageExtractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#append_ocr_text ⇒ Boolean?
Returns the value of attribute append_ocr_text.
-
#auto_adjust_dpi ⇒ Boolean?
Returns the value of attribute auto_adjust_dpi.
-
#classify ⇒ Boolean?
Returns the value of attribute classify.
-
#extract_images ⇒ Boolean?
Returns the value of attribute extract_images.
-
#include_data_base64 ⇒ Boolean?
Returns the value of attribute include_data_base64.
-
#include_page_rasters ⇒ Boolean?
Returns the value of attribute include_page_rasters.
-
#inject_placeholders ⇒ Boolean?
Returns the value of attribute inject_placeholders.
-
#max_dpi ⇒ Integer?
Returns the value of attribute max_dpi.
-
#max_image_dimension ⇒ Integer?
Returns the value of attribute max_image_dimension.
-
#max_images_per_page ⇒ Integer?
Returns the value of attribute max_images_per_page.
-
#min_dpi ⇒ Integer?
Returns the value of attribute min_dpi.
-
#ocr_text_only ⇒ Boolean?
Returns the value of attribute ocr_text_only.
-
#output_format ⇒ ImageOutputFormat?
Returns the value of attribute output_format.
-
#run_ocr_on_images ⇒ Boolean?
Returns the value of attribute run_ocr_on_images.
-
#svg ⇒ SvgOptions?
Returns the value of attribute svg.
-
#target_dpi ⇒ Integer?
Returns the value of attribute target_dpi.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ImageExtractionConfig
constructor
A new instance of ImageExtractionConfig.
Constructor Details
#initialize ⇒ ImageExtractionConfig
Returns a new instance of ImageExtractionConfig.
258 |
# File 'sig/types.rbs', line 258
def initialize: (?extract_images: bool, ?target_dpi: Integer, ?max_image_dimension: Integer, ?inject_placeholders: bool, ?auto_adjust_dpi: bool, ?min_dpi: Integer, ?max_dpi: Integer, ?max_images_per_page: Integer, ?classify: bool, ?include_page_rasters: bool, ?run_ocr_on_images: bool, ?ocr_text_only: bool, ?append_ocr_text: bool, ?output_format: ImageOutputFormat, ?svg: SvgOptions, ?include_data_base64: bool) -> void
|
Instance Attribute Details
#append_ocr_text ⇒ Boolean?
Returns the value of attribute append_ocr_text.
253 254 255 |
# File 'sig/types.rbs', line 253 def append_ocr_text @append_ocr_text end |
#auto_adjust_dpi ⇒ Boolean?
Returns the value of attribute auto_adjust_dpi.
245 246 247 |
# File 'sig/types.rbs', line 245 def auto_adjust_dpi @auto_adjust_dpi end |
#classify ⇒ Boolean?
Returns the value of attribute classify.
249 250 251 |
# File 'sig/types.rbs', line 249 def classify @classify end |
#extract_images ⇒ Boolean?
Returns the value of attribute extract_images.
241 242 243 |
# File 'sig/types.rbs', line 241 def extract_images @extract_images end |
#include_data_base64 ⇒ Boolean?
Returns the value of attribute include_data_base64.
256 257 258 |
# File 'sig/types.rbs', line 256 def include_data_base64 @include_data_base64 end |
#include_page_rasters ⇒ Boolean?
Returns the value of attribute include_page_rasters.
250 251 252 |
# File 'sig/types.rbs', line 250 def include_page_rasters @include_page_rasters end |
#inject_placeholders ⇒ Boolean?
Returns the value of attribute inject_placeholders.
244 245 246 |
# File 'sig/types.rbs', line 244 def inject_placeholders @inject_placeholders end |
#max_dpi ⇒ Integer?
Returns the value of attribute max_dpi.
247 248 249 |
# File 'sig/types.rbs', line 247 def max_dpi @max_dpi end |
#max_image_dimension ⇒ Integer?
Returns the value of attribute max_image_dimension.
243 244 245 |
# File 'sig/types.rbs', line 243 def max_image_dimension @max_image_dimension end |
#max_images_per_page ⇒ Integer?
Returns the value of attribute max_images_per_page.
248 249 250 |
# File 'sig/types.rbs', line 248 def max_images_per_page @max_images_per_page end |
#min_dpi ⇒ Integer?
Returns the value of attribute min_dpi.
246 247 248 |
# File 'sig/types.rbs', line 246 def min_dpi @min_dpi end |
#ocr_text_only ⇒ Boolean?
Returns the value of attribute ocr_text_only.
252 253 254 |
# File 'sig/types.rbs', line 252 def ocr_text_only @ocr_text_only end |
#output_format ⇒ ImageOutputFormat?
Returns the value of attribute output_format.
254 255 256 |
# File 'sig/types.rbs', line 254 def output_format @output_format end |
#run_ocr_on_images ⇒ Boolean?
Returns the value of attribute run_ocr_on_images.
251 252 253 |
# File 'sig/types.rbs', line 251 def run_ocr_on_images @run_ocr_on_images end |
#svg ⇒ SvgOptions?
Returns the value of attribute svg.
255 256 257 |
# File 'sig/types.rbs', line 255 def svg @svg end |
#target_dpi ⇒ Integer?
Returns the value of attribute target_dpi.
242 243 244 |
# File 'sig/types.rbs', line 242 def target_dpi @target_dpi end |
Class Method Details
.default ⇒ ImageExtractionConfig
259 |
# File 'sig/types.rbs', line 259
def self.default: () -> ImageExtractionConfig
|