groupdocs_conversion_cloud 24.12 → 25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/groupdocs_conversion_cloud/api/async_api.rb +5 -5
- data/lib/groupdocs_conversion_cloud/api/convert_api.rb +3 -3
- data/lib/groupdocs_conversion_cloud/api/file_api.rb +6 -6
- data/lib/groupdocs_conversion_cloud/api/folder_api.rb +6 -6
- data/lib/groupdocs_conversion_cloud/api/info_api.rb +3 -3
- data/lib/groupdocs_conversion_cloud/api/license_api.rb +1 -1
- data/lib/groupdocs_conversion_cloud/api/storage_api.rb +5 -5
- data/lib/groupdocs_conversion_cloud/api_client.rb +1 -1
- data/lib/groupdocs_conversion_cloud/api_client_error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/configuration.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/api_error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/api_error_response.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/cf2_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/consumption_result.rb +20 -5
- data/lib/groupdocs_conversion_cloud/models/convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dwfx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dwt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/e_book_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/field_label.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/license_info.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/operation_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pdl_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/personal_storage_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/txt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/watermark_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/web_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/web_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +12 -2
- data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/version.rb +2 -2
- data/lib/groupdocs_conversion_cloud.rb +1 -1
- metadata +2 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="ico_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -75,6 +75,9 @@ module GroupDocsConversionCloud
|
|
75
75
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
|
+
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
78
81
|
class EnumAttributeValidator
|
79
82
|
attr_reader :datatype
|
80
83
|
attr_reader :allowable_values
|
@@ -114,7 +117,8 @@ module GroupDocsConversionCloud
|
|
114
117
|
:'brightness' => :'Brightness',
|
115
118
|
:'contrast' => :'Contrast',
|
116
119
|
:'gamma' => :'Gamma',
|
117
|
-
:'flip_mode' => :'FlipMode'
|
120
|
+
:'flip_mode' => :'FlipMode',
|
121
|
+
:'background_color' => :'BackgroundColor'
|
118
122
|
}
|
119
123
|
end
|
120
124
|
|
@@ -135,7 +139,8 @@ module GroupDocsConversionCloud
|
|
135
139
|
:'brightness' => :'Integer',
|
136
140
|
:'contrast' => :'Integer',
|
137
141
|
:'gamma' => :'Float',
|
138
|
-
:'flip_mode' => :'String'
|
142
|
+
:'flip_mode' => :'String',
|
143
|
+
:'background_color' => :'String'
|
139
144
|
}
|
140
145
|
end
|
141
146
|
|
@@ -209,6 +214,10 @@ module GroupDocsConversionCloud
|
|
209
214
|
self.flip_mode = attributes[:'FlipMode']
|
210
215
|
end
|
211
216
|
|
217
|
+
if attributes.key?(:'BackgroundColor')
|
218
|
+
self.background_color = attributes[:'BackgroundColor']
|
219
|
+
end
|
220
|
+
|
212
221
|
end
|
213
222
|
|
214
223
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -324,7 +333,8 @@ module GroupDocsConversionCloud
|
|
324
333
|
brightness == other.brightness &&
|
325
334
|
contrast == other.contrast &&
|
326
335
|
gamma == other.gamma &&
|
327
|
-
flip_mode == other.flip_mode
|
336
|
+
flip_mode == other.flip_mode &&
|
337
|
+
background_color == other.background_color
|
328
338
|
end
|
329
339
|
|
330
340
|
# @see the `==` method
|
@@ -336,7 +346,7 @@ module GroupDocsConversionCloud
|
|
336
346
|
# Calculates hash code according to all attributes.
|
337
347
|
# @return [Fixnum] Hash code
|
338
348
|
def hash
|
339
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode].hash
|
349
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color].hash
|
340
350
|
end
|
341
351
|
|
342
352
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="ico_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="ifc_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="igs_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="image_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -75,6 +75,9 @@ module GroupDocsConversionCloud
|
|
75
75
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
|
+
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
78
81
|
class EnumAttributeValidator
|
79
82
|
attr_reader :datatype
|
80
83
|
attr_reader :allowable_values
|
@@ -114,7 +117,8 @@ module GroupDocsConversionCloud
|
|
114
117
|
:'brightness' => :'Brightness',
|
115
118
|
:'contrast' => :'Contrast',
|
116
119
|
:'gamma' => :'Gamma',
|
117
|
-
:'flip_mode' => :'FlipMode'
|
120
|
+
:'flip_mode' => :'FlipMode',
|
121
|
+
:'background_color' => :'BackgroundColor'
|
118
122
|
}
|
119
123
|
end
|
120
124
|
|
@@ -135,7 +139,8 @@ module GroupDocsConversionCloud
|
|
135
139
|
:'brightness' => :'Integer',
|
136
140
|
:'contrast' => :'Integer',
|
137
141
|
:'gamma' => :'Float',
|
138
|
-
:'flip_mode' => :'String'
|
142
|
+
:'flip_mode' => :'String',
|
143
|
+
:'background_color' => :'String'
|
139
144
|
}
|
140
145
|
end
|
141
146
|
|
@@ -209,6 +214,10 @@ module GroupDocsConversionCloud
|
|
209
214
|
self.flip_mode = attributes[:'FlipMode']
|
210
215
|
end
|
211
216
|
|
217
|
+
if attributes.key?(:'BackgroundColor')
|
218
|
+
self.background_color = attributes[:'BackgroundColor']
|
219
|
+
end
|
220
|
+
|
212
221
|
end
|
213
222
|
|
214
223
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -324,7 +333,8 @@ module GroupDocsConversionCloud
|
|
324
333
|
brightness == other.brightness &&
|
325
334
|
contrast == other.contrast &&
|
326
335
|
gamma == other.gamma &&
|
327
|
-
flip_mode == other.flip_mode
|
336
|
+
flip_mode == other.flip_mode &&
|
337
|
+
background_color == other.background_color
|
328
338
|
end
|
329
339
|
|
330
340
|
# @see the `==` method
|
@@ -336,7 +346,7 @@ module GroupDocsConversionCloud
|
|
336
346
|
# Calculates hash code according to all attributes.
|
337
347
|
# @return [Fixnum] Hash code
|
338
348
|
def hash
|
339
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode].hash
|
349
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color].hash
|
340
350
|
end
|
341
351
|
|
342
352
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="image_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="j2c_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="j2c_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="j2k_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="j2k_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jp2_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jp2_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpeg_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpeg_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpf_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpf_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpg_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpg_load_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpm_convert_options.rb">
|
4
|
-
# Copyright (c)
|
4
|
+
# Copyright (c) Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -76,6 +76,9 @@ module GroupDocsConversionCloud
|
|
76
76
|
# Image flip mode
|
77
77
|
attr_accessor :flip_mode
|
78
78
|
|
79
|
+
# Gets or sets a background color.
|
80
|
+
attr_accessor :background_color
|
81
|
+
|
79
82
|
# Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
|
80
83
|
attr_accessor :quality
|
81
84
|
class EnumAttributeValidator
|
@@ -118,6 +121,7 @@ module GroupDocsConversionCloud
|
|
118
121
|
:'contrast' => :'Contrast',
|
119
122
|
:'gamma' => :'Gamma',
|
120
123
|
:'flip_mode' => :'FlipMode',
|
124
|
+
:'background_color' => :'BackgroundColor',
|
121
125
|
:'quality' => :'Quality'
|
122
126
|
}
|
123
127
|
end
|
@@ -140,6 +144,7 @@ module GroupDocsConversionCloud
|
|
140
144
|
:'contrast' => :'Integer',
|
141
145
|
:'gamma' => :'Float',
|
142
146
|
:'flip_mode' => :'String',
|
147
|
+
:'background_color' => :'String',
|
143
148
|
:'quality' => :'Integer'
|
144
149
|
}
|
145
150
|
end
|
@@ -214,6 +219,10 @@ module GroupDocsConversionCloud
|
|
214
219
|
self.flip_mode = attributes[:'FlipMode']
|
215
220
|
end
|
216
221
|
|
222
|
+
if attributes.key?(:'BackgroundColor')
|
223
|
+
self.background_color = attributes[:'BackgroundColor']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'Quality')
|
218
227
|
self.quality = attributes[:'Quality']
|
219
228
|
end
|
@@ -339,6 +348,7 @@ module GroupDocsConversionCloud
|
|
339
348
|
contrast == other.contrast &&
|
340
349
|
gamma == other.gamma &&
|
341
350
|
flip_mode == other.flip_mode &&
|
351
|
+
background_color == other.background_color &&
|
342
352
|
quality == other.quality
|
343
353
|
end
|
344
354
|
|
@@ -351,7 +361,7 @@ module GroupDocsConversionCloud
|
|
351
361
|
# Calculates hash code according to all attributes.
|
352
362
|
# @return [Fixnum] Hash code
|
353
363
|
def hash
|
354
|
-
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
364
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, background_color, quality].hash
|
355
365
|
end
|
356
366
|
|
357
367
|
# Downcases first letter.
|