Class: Xberg::ImageExtractionConfig
- Inherits:
-
Object
- Object
- Xberg::ImageExtractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#append_ocr_text ⇒ Boolean
readonly
Returns the value of attribute append_ocr_text.
-
#auto_adjust_dpi ⇒ Boolean
readonly
Returns the value of attribute auto_adjust_dpi.
-
#classify ⇒ Boolean
readonly
Returns the value of attribute classify.
-
#extract_images ⇒ Boolean
readonly
Returns the value of attribute extract_images.
-
#include_data_base64 ⇒ Boolean
readonly
Returns the value of attribute include_data_base64.
-
#include_page_rasters ⇒ Boolean
readonly
Returns the value of attribute include_page_rasters.
-
#inject_placeholders ⇒ Boolean
readonly
Returns the value of attribute inject_placeholders.
-
#max_dpi ⇒ Integer
readonly
Returns the value of attribute max_dpi.
-
#max_image_dimension ⇒ Integer
readonly
Returns the value of attribute max_image_dimension.
-
#max_images_per_page ⇒ Integer?
readonly
Returns the value of attribute max_images_per_page.
-
#min_dpi ⇒ Integer
readonly
Returns the value of attribute min_dpi.
-
#ocr_text_only ⇒ Boolean
readonly
Returns the value of attribute ocr_text_only.
-
#output_format ⇒ ImageOutputFormat
readonly
Returns the value of attribute output_format.
-
#run_ocr_on_images ⇒ Boolean
readonly
Returns the value of attribute run_ocr_on_images.
-
#svg ⇒ SvgOptions
readonly
Returns the value of attribute svg.
-
#target_dpi ⇒ Integer
readonly
Returns the value of attribute target_dpi.
Instance Method Summary collapse
-
#initialize ⇒ ImageExtractionConfig
constructor
A new instance of ImageExtractionConfig.
Constructor Details
#initialize ⇒ ImageExtractionConfig
Returns a new instance of ImageExtractionConfig.
1287 |
# File 'sig/types.rbs', line 1287
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 (readonly)
Returns the value of attribute append_ocr_text.
1282 1283 1284 |
# File 'sig/types.rbs', line 1282 def append_ocr_text @append_ocr_text end |
#auto_adjust_dpi ⇒ Boolean (readonly)
Returns the value of attribute auto_adjust_dpi.
1274 1275 1276 |
# File 'sig/types.rbs', line 1274 def auto_adjust_dpi @auto_adjust_dpi end |
#classify ⇒ Boolean (readonly)
Returns the value of attribute classify.
1278 1279 1280 |
# File 'sig/types.rbs', line 1278 def classify @classify end |
#extract_images ⇒ Boolean (readonly)
Returns the value of attribute extract_images.
1270 1271 1272 |
# File 'sig/types.rbs', line 1270 def extract_images @extract_images end |
#include_data_base64 ⇒ Boolean (readonly)
Returns the value of attribute include_data_base64.
1285 1286 1287 |
# File 'sig/types.rbs', line 1285 def include_data_base64 @include_data_base64 end |
#include_page_rasters ⇒ Boolean (readonly)
Returns the value of attribute include_page_rasters.
1279 1280 1281 |
# File 'sig/types.rbs', line 1279 def include_page_rasters @include_page_rasters end |
#inject_placeholders ⇒ Boolean (readonly)
Returns the value of attribute inject_placeholders.
1273 1274 1275 |
# File 'sig/types.rbs', line 1273 def inject_placeholders @inject_placeholders end |
#max_dpi ⇒ Integer (readonly)
Returns the value of attribute max_dpi.
1276 1277 1278 |
# File 'sig/types.rbs', line 1276 def max_dpi @max_dpi end |
#max_image_dimension ⇒ Integer (readonly)
Returns the value of attribute max_image_dimension.
1272 1273 1274 |
# File 'sig/types.rbs', line 1272 def max_image_dimension @max_image_dimension end |
#max_images_per_page ⇒ Integer? (readonly)
Returns the value of attribute max_images_per_page.
1277 1278 1279 |
# File 'sig/types.rbs', line 1277 def max_images_per_page @max_images_per_page end |
#min_dpi ⇒ Integer (readonly)
Returns the value of attribute min_dpi.
1275 1276 1277 |
# File 'sig/types.rbs', line 1275 def min_dpi @min_dpi end |
#ocr_text_only ⇒ Boolean (readonly)
Returns the value of attribute ocr_text_only.
1281 1282 1283 |
# File 'sig/types.rbs', line 1281 def ocr_text_only @ocr_text_only end |
#output_format ⇒ ImageOutputFormat (readonly)
Returns the value of attribute output_format.
1283 1284 1285 |
# File 'sig/types.rbs', line 1283 def output_format @output_format end |
#run_ocr_on_images ⇒ Boolean (readonly)
Returns the value of attribute run_ocr_on_images.
1280 1281 1282 |
# File 'sig/types.rbs', line 1280 def run_ocr_on_images @run_ocr_on_images end |
#svg ⇒ SvgOptions (readonly)
Returns the value of attribute svg.
1284 1285 1286 |
# File 'sig/types.rbs', line 1284 def svg @svg end |
#target_dpi ⇒ Integer (readonly)
Returns the value of attribute target_dpi.
1271 1272 1273 |
# File 'sig/types.rbs', line 1271 def target_dpi @target_dpi end |