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.
233 |
# File 'sig/types.rbs', line 233
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.
228 229 230 |
# File 'sig/types.rbs', line 228 def append_ocr_text @append_ocr_text end |
#auto_adjust_dpi ⇒ Boolean?
Returns the value of attribute auto_adjust_dpi.
220 221 222 |
# File 'sig/types.rbs', line 220 def auto_adjust_dpi @auto_adjust_dpi end |
#classify ⇒ Boolean?
Returns the value of attribute classify.
224 225 226 |
# File 'sig/types.rbs', line 224 def classify @classify end |
#extract_images ⇒ Boolean?
Returns the value of attribute extract_images.
216 217 218 |
# File 'sig/types.rbs', line 216 def extract_images @extract_images end |
#include_data_base64 ⇒ Boolean?
Returns the value of attribute include_data_base64.
231 232 233 |
# File 'sig/types.rbs', line 231 def include_data_base64 @include_data_base64 end |
#include_page_rasters ⇒ Boolean?
Returns the value of attribute include_page_rasters.
225 226 227 |
# File 'sig/types.rbs', line 225 def include_page_rasters @include_page_rasters end |
#inject_placeholders ⇒ Boolean?
Returns the value of attribute inject_placeholders.
219 220 221 |
# File 'sig/types.rbs', line 219 def inject_placeholders @inject_placeholders end |
#max_dpi ⇒ Integer?
Returns the value of attribute max_dpi.
222 223 224 |
# File 'sig/types.rbs', line 222 def max_dpi @max_dpi end |
#max_image_dimension ⇒ Integer?
Returns the value of attribute max_image_dimension.
218 219 220 |
# File 'sig/types.rbs', line 218 def max_image_dimension @max_image_dimension end |
#max_images_per_page ⇒ Integer?
Returns the value of attribute max_images_per_page.
223 224 225 |
# File 'sig/types.rbs', line 223 def max_images_per_page @max_images_per_page end |
#min_dpi ⇒ Integer?
Returns the value of attribute min_dpi.
221 222 223 |
# File 'sig/types.rbs', line 221 def min_dpi @min_dpi end |
#ocr_text_only ⇒ Boolean?
Returns the value of attribute ocr_text_only.
227 228 229 |
# File 'sig/types.rbs', line 227 def ocr_text_only @ocr_text_only end |
#output_format ⇒ ImageOutputFormat?
Returns the value of attribute output_format.
229 230 231 |
# File 'sig/types.rbs', line 229 def output_format @output_format end |
#run_ocr_on_images ⇒ Boolean?
Returns the value of attribute run_ocr_on_images.
226 227 228 |
# File 'sig/types.rbs', line 226 def run_ocr_on_images @run_ocr_on_images end |
#svg ⇒ SvgOptions?
Returns the value of attribute svg.
230 231 232 |
# File 'sig/types.rbs', line 230 def svg @svg end |
#target_dpi ⇒ Integer?
Returns the value of attribute target_dpi.
217 218 219 |
# File 'sig/types.rbs', line 217 def target_dpi @target_dpi end |
Class Method Details
.default ⇒ ImageExtractionConfig
234 |
# File 'sig/types.rbs', line 234
def self.default: () -> ImageExtractionConfig
|