Class: Xberg::ImageExtractionConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImageExtractionConfig

Returns a new instance of ImageExtractionConfig.

Parameters:

  • extract_images: (Boolean)
  • target_dpi: (Integer)
  • max_image_dimension: (Integer)
  • inject_placeholders: (Boolean)
  • auto_adjust_dpi: (Boolean)
  • min_dpi: (Integer)
  • max_dpi: (Integer)
  • max_images_per_page: (Integer)
  • classify: (Boolean)
  • include_page_rasters: (Boolean)
  • run_ocr_on_images: (Boolean)
  • ocr_text_only: (Boolean)
  • append_ocr_text: (Boolean)
  • output_format: (ImageOutputFormat)
  • svg: (SvgOptions)
  • include_data_base64: (Boolean)


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_textBoolean (readonly)

Returns the value of attribute append_ocr_text.

Returns:

  • (Boolean)


1282
1283
1284
# File 'sig/types.rbs', line 1282

def append_ocr_text
  @append_ocr_text
end

#auto_adjust_dpiBoolean (readonly)

Returns the value of attribute auto_adjust_dpi.

Returns:

  • (Boolean)


1274
1275
1276
# File 'sig/types.rbs', line 1274

def auto_adjust_dpi
  @auto_adjust_dpi
end

#classifyBoolean (readonly)

Returns the value of attribute classify.

Returns:

  • (Boolean)


1278
1279
1280
# File 'sig/types.rbs', line 1278

def classify
  @classify
end

#extract_imagesBoolean (readonly)

Returns the value of attribute extract_images.

Returns:

  • (Boolean)


1270
1271
1272
# File 'sig/types.rbs', line 1270

def extract_images
  @extract_images
end

#include_data_base64Boolean (readonly)

Returns the value of attribute include_data_base64.

Returns:

  • (Boolean)


1285
1286
1287
# File 'sig/types.rbs', line 1285

def include_data_base64
  @include_data_base64
end

#include_page_rastersBoolean (readonly)

Returns the value of attribute include_page_rasters.

Returns:

  • (Boolean)


1279
1280
1281
# File 'sig/types.rbs', line 1279

def include_page_rasters
  @include_page_rasters
end

#inject_placeholdersBoolean (readonly)

Returns the value of attribute inject_placeholders.

Returns:

  • (Boolean)


1273
1274
1275
# File 'sig/types.rbs', line 1273

def inject_placeholders
  @inject_placeholders
end

#max_dpiInteger (readonly)

Returns the value of attribute max_dpi.

Returns:

  • (Integer)


1276
1277
1278
# File 'sig/types.rbs', line 1276

def max_dpi
  @max_dpi
end

#max_image_dimensionInteger (readonly)

Returns the value of attribute max_image_dimension.

Returns:

  • (Integer)


1272
1273
1274
# File 'sig/types.rbs', line 1272

def max_image_dimension
  @max_image_dimension
end

#max_images_per_pageInteger? (readonly)

Returns the value of attribute max_images_per_page.

Returns:

  • (Integer, nil)


1277
1278
1279
# File 'sig/types.rbs', line 1277

def max_images_per_page
  @max_images_per_page
end

#min_dpiInteger (readonly)

Returns the value of attribute min_dpi.

Returns:

  • (Integer)


1275
1276
1277
# File 'sig/types.rbs', line 1275

def min_dpi
  @min_dpi
end

#ocr_text_onlyBoolean (readonly)

Returns the value of attribute ocr_text_only.

Returns:

  • (Boolean)


1281
1282
1283
# File 'sig/types.rbs', line 1281

def ocr_text_only
  @ocr_text_only
end

#output_formatImageOutputFormat (readonly)

Returns the value of attribute output_format.

Returns:



1283
1284
1285
# File 'sig/types.rbs', line 1283

def output_format
  @output_format
end

#run_ocr_on_imagesBoolean (readonly)

Returns the value of attribute run_ocr_on_images.

Returns:

  • (Boolean)


1280
1281
1282
# File 'sig/types.rbs', line 1280

def run_ocr_on_images
  @run_ocr_on_images
end

#svgSvgOptions (readonly)

Returns the value of attribute svg.

Returns:



1284
1285
1286
# File 'sig/types.rbs', line 1284

def svg
  @svg
end

#target_dpiInteger (readonly)

Returns the value of attribute target_dpi.

Returns:

  • (Integer)


1271
1272
1273
# File 'sig/types.rbs', line 1271

def target_dpi
  @target_dpi
end