Class: AsposeImagingCloud::TiffOptions

Inherits:
BaseObject
  • Object
show all
Defined in:
lib/aspose_imaging_cloud/models/tiff_options.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseObject

#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s

Constructor Details

#initialize(attributes = {}) ⇒ TiffOptions

Returns a new instance of TiffOptions.



203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 203

def initialize(attributes = {})
  return if !attributes.is_a?(Hash) || attributes.empty?

  # convert string to symbol for hash key
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

  
  if attributes[:'IsValid']
    self.is_valid = attributes[:'IsValid']
  end
  
  if attributes[:'Artist']
    self.artist = attributes[:'Artist']
  end
  
  if attributes[:'ByteOrder']
    self.byte_order = attributes[:'ByteOrder']
  end
  
  if attributes[:'BitsPerSample']
    if (value = attributes[:'BitsPerSample']).is_a?(Array)
      self.bits_per_sample = value
    end
  end
  
  if attributes[:'Compression']
    self.compression = attributes[:'Compression']
  end
  
  if attributes[:'Copyright']
    self.copyright = attributes[:'Copyright']
  end
  
  if attributes[:'ColorMap']
    if (value = attributes[:'ColorMap']).is_a?(Array)
      self.color_map = value
    end
  end
  
  if attributes[:'DateTime']
    self.date_time = attributes[:'DateTime']
  end
  
  if attributes[:'DocumentName']
    self.document_name = attributes[:'DocumentName']
  end
  
  if attributes[:'AlphaStorage']
    self.alpha_storage = attributes[:'AlphaStorage']
  end
  
  if attributes[:'FillOrder']
    self.fill_order = attributes[:'FillOrder']
  end
  
  if attributes[:'HalfToneHints']
    if (value = attributes[:'HalfToneHints']).is_a?(Array)
      self.half_tone_hints = value
    end
  end
  
  if attributes[:'ImageDescription']
    self.image_description = attributes[:'ImageDescription']
  end
  
  if attributes[:'InkNames']
    self.ink_names = attributes[:'InkNames']
  end
  
  if attributes[:'ScannerManufacturer']
    self.scanner_manufacturer = attributes[:'ScannerManufacturer']
  end
  
  if attributes[:'MaxSampleValue']
    if (value = attributes[:'MaxSampleValue']).is_a?(Array)
      self.max_sample_value = value
    end
  end
  
  if attributes[:'MinSampleValue']
    if (value = attributes[:'MinSampleValue']).is_a?(Array)
      self.min_sample_value = value
    end
  end
  
  if attributes[:'ScannerModel']
    self.scanner_model = attributes[:'ScannerModel']
  end
  
  if attributes[:'PageName']
    self.page_name = attributes[:'PageName']
  end
  
  if attributes[:'Orientation']
    self.orientation = attributes[:'Orientation']
  end
  
  if attributes[:'PageNumber']
    if (value = attributes[:'PageNumber']).is_a?(Array)
      self.page_number = value
    end
  end
  
  if attributes[:'Photometric']
    self.photometric = attributes[:'Photometric']
  end
  
  if attributes[:'PlanarConfiguration']
    self.planar_configuration = attributes[:'PlanarConfiguration']
  end
  
  if attributes[:'ResolutionUnit']
    self.resolution_unit = attributes[:'ResolutionUnit']
  end
  
  if attributes[:'RowsPerStrip']
    self.rows_per_strip = attributes[:'RowsPerStrip']
  end
  
  if attributes[:'SampleFormat']
    if (value = attributes[:'SampleFormat']).is_a?(Array)
      self.sample_format = value
    end
  end
  
  if attributes[:'SamplesPerPixel']
    self.samples_per_pixel = attributes[:'SamplesPerPixel']
  end
  
  if attributes[:'SmaxSampleValue']
    if (value = attributes[:'SmaxSampleValue']).is_a?(Array)
      self.smax_sample_value = value
    end
  end
  
  if attributes[:'SminSampleValue']
    if (value = attributes[:'SminSampleValue']).is_a?(Array)
      self.smin_sample_value = value
    end
  end
  
  if attributes[:'SoftwareType']
    self.software_type = attributes[:'SoftwareType']
  end
  
  if attributes[:'StripByteCounts']
    if (value = attributes[:'StripByteCounts']).is_a?(Array)
      self.strip_byte_counts = value
    end
  end
  
  if attributes[:'StripOffsets']
    if (value = attributes[:'StripOffsets']).is_a?(Array)
      self.strip_offsets = value
    end
  end
  
  if attributes[:'SubFileType']
    self.sub_file_type = attributes[:'SubFileType']
  end
  
  if attributes[:'TargetPrinter']
    self.target_printer = attributes[:'TargetPrinter']
  end
  
  if attributes[:'Threshholding']
    self.threshholding = attributes[:'Threshholding']
  end
  
  if attributes[:'TotalPages']
    self.total_pages = attributes[:'TotalPages']
  end
  
  if attributes[:'Xposition']
    self.xposition = attributes[:'Xposition']
  end
  
  if attributes[:'Xresolution']
    self.xresolution = attributes[:'Xresolution']
  end
  
  if attributes[:'Yposition']
    self.yposition = attributes[:'Yposition']
  end
  
  if attributes[:'Yresolution']
    self.yresolution = attributes[:'Yresolution']
  end
  
  if attributes[:'FaxT4Options']
    self.fax_t4_options = attributes[:'FaxT4Options']
  end
  
  if attributes[:'Predictor']
    self.predictor = attributes[:'Predictor']
  end
  
  if attributes[:'ImageLength']
    self.image_length = attributes[:'ImageLength']
  end
  
  if attributes[:'ImageWidth']
    self.image_width = attributes[:'ImageWidth']
  end
  
  if attributes[:'ValidTagCount']
    self.valid_tag_count = attributes[:'ValidTagCount']
  end
  
  if attributes[:'BitsPerPixel']
    self.bits_per_pixel = attributes[:'BitsPerPixel']
  end
  
end

Instance Attribute Details

#alpha_storageObject

Returns the value of attribute alpha_storage.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def alpha_storage
  @alpha_storage
end

#artistObject

Returns the value of attribute artist.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def artist
  @artist
end

#bits_per_pixelObject

Returns the value of attribute bits_per_pixel.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def bits_per_pixel
  @bits_per_pixel
end

#bits_per_sampleObject

Returns the value of attribute bits_per_sample.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def bits_per_sample
  @bits_per_sample
end

#byte_orderObject

Returns the value of attribute byte_order.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def byte_order
  @byte_order
end

#color_mapObject

Returns the value of attribute color_map.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def color_map
  @color_map
end

#compressionObject

Returns the value of attribute compression.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def compression
  @compression
end

Returns the value of attribute copyright.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def copyright
  @copyright
end

#date_timeObject

Returns the value of attribute date_time.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def date_time
  @date_time
end

#document_nameObject

Returns the value of attribute document_name.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def document_name
  @document_name
end

#fax_t4_optionsObject

Returns the value of attribute fax_t4_options.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def fax_t4_options
  @fax_t4_options
end

#fill_orderObject

Returns the value of attribute fill_order.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def fill_order
  @fill_order
end

#half_tone_hintsObject

Returns the value of attribute half_tone_hints.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def half_tone_hints
  @half_tone_hints
end

#image_descriptionObject

Returns the value of attribute image_description.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def image_description
  @image_description
end

#image_lengthObject

Returns the value of attribute image_length.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def image_length
  @image_length
end

#image_widthObject

Returns the value of attribute image_width.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def image_width
  @image_width
end

#ink_namesObject

Returns the value of attribute ink_names.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def ink_names
  @ink_names
end

#is_validObject

Returns the value of attribute is_valid.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def is_valid
  @is_valid
end

#max_sample_valueObject

Returns the value of attribute max_sample_value.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def max_sample_value
  @max_sample_value
end

#min_sample_valueObject

Returns the value of attribute min_sample_value.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def min_sample_value
  @min_sample_value
end

#orientationObject

Returns the value of attribute orientation.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def orientation
  @orientation
end

#page_nameObject

Returns the value of attribute page_name.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def page_name
  @page_name
end

#page_numberObject

Returns the value of attribute page_number.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def page_number
  @page_number
end

#photometricObject

Returns the value of attribute photometric.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def photometric
  @photometric
end

#planar_configurationObject

Returns the value of attribute planar_configuration.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def planar_configuration
  @planar_configuration
end

#predictorObject

Returns the value of attribute predictor.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def predictor
  @predictor
end

#resolution_unitObject

Returns the value of attribute resolution_unit.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def resolution_unit
  @resolution_unit
end

#rows_per_stripObject

Returns the value of attribute rows_per_strip.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def rows_per_strip
  @rows_per_strip
end

#sample_formatObject

Returns the value of attribute sample_format.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def sample_format
  @sample_format
end

#samples_per_pixelObject

Returns the value of attribute samples_per_pixel.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def samples_per_pixel
  @samples_per_pixel
end

#scanner_manufacturerObject

Returns the value of attribute scanner_manufacturer.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def scanner_manufacturer
  @scanner_manufacturer
end

#scanner_modelObject

Returns the value of attribute scanner_model.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def scanner_model
  @scanner_model
end

#smax_sample_valueObject

Returns the value of attribute smax_sample_value.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def smax_sample_value
  @smax_sample_value
end

#smin_sample_valueObject

Returns the value of attribute smin_sample_value.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def smin_sample_value
  @smin_sample_value
end

#software_typeObject

Returns the value of attribute software_type.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def software_type
  @software_type
end

#strip_byte_countsObject

Returns the value of attribute strip_byte_counts.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def strip_byte_counts
  @strip_byte_counts
end

#strip_offsetsObject

Returns the value of attribute strip_offsets.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def strip_offsets
  @strip_offsets
end

#sub_file_typeObject

Returns the value of attribute sub_file_type.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def sub_file_type
  @sub_file_type
end

#target_printerObject

Returns the value of attribute target_printer.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def target_printer
  @target_printer
end

#threshholdingObject

Returns the value of attribute threshholding.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def threshholding
  @threshholding
end

#total_pagesObject

Returns the value of attribute total_pages.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def total_pages
  @total_pages
end

#valid_tag_countObject

Returns the value of attribute valid_tag_count.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def valid_tag_count
  @valid_tag_count
end

#xpositionObject

Returns the value of attribute xposition.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def xposition
  @xposition
end

#xresolutionObject

Returns the value of attribute xresolution.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def xresolution
  @xresolution
end

#ypositionObject

Returns the value of attribute yposition.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def yposition
  @yposition
end

#yresolutionObject

Returns the value of attribute yresolution.



4
5
6
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 4

def yresolution
  @yresolution
end

Class Method Details

.attribute_mapObject

attribute mapping from ruby-style variable name to JSON key



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 6

def self.attribute_map
  {
    
    # 
    :'is_valid' => :'IsValid',
    
    # 
    :'artist' => :'Artist',
    
    # 
    :'byte_order' => :'ByteOrder',
    
    # 
    :'bits_per_sample' => :'BitsPerSample',
    
    # 
    :'compression' => :'Compression',
    
    # 
    :'copyright' => :'Copyright',
    
    # 
    :'color_map' => :'ColorMap',
    
    # 
    :'date_time' => :'DateTime',
    
    # 
    :'document_name' => :'DocumentName',
    
    # 
    :'alpha_storage' => :'AlphaStorage',
    
    # 
    :'fill_order' => :'FillOrder',
    
    # 
    :'half_tone_hints' => :'HalfToneHints',
    
    # 
    :'image_description' => :'ImageDescription',
    
    # 
    :'ink_names' => :'InkNames',
    
    # 
    :'scanner_manufacturer' => :'ScannerManufacturer',
    
    # 
    :'max_sample_value' => :'MaxSampleValue',
    
    # 
    :'min_sample_value' => :'MinSampleValue',
    
    # 
    :'scanner_model' => :'ScannerModel',
    
    # 
    :'page_name' => :'PageName',
    
    # 
    :'orientation' => :'Orientation',
    
    # 
    :'page_number' => :'PageNumber',
    
    # 
    :'photometric' => :'Photometric',
    
    # 
    :'planar_configuration' => :'PlanarConfiguration',
    
    # 
    :'resolution_unit' => :'ResolutionUnit',
    
    # 
    :'rows_per_strip' => :'RowsPerStrip',
    
    # 
    :'sample_format' => :'SampleFormat',
    
    # 
    :'samples_per_pixel' => :'SamplesPerPixel',
    
    # 
    :'smax_sample_value' => :'SmaxSampleValue',
    
    # 
    :'smin_sample_value' => :'SminSampleValue',
    
    # 
    :'software_type' => :'SoftwareType',
    
    # 
    :'strip_byte_counts' => :'StripByteCounts',
    
    # 
    :'strip_offsets' => :'StripOffsets',
    
    # 
    :'sub_file_type' => :'SubFileType',
    
    # 
    :'target_printer' => :'TargetPrinter',
    
    # 
    :'threshholding' => :'Threshholding',
    
    # 
    :'total_pages' => :'TotalPages',
    
    # 
    :'xposition' => :'Xposition',
    
    # 
    :'xresolution' => :'Xresolution',
    
    # 
    :'yposition' => :'Yposition',
    
    # 
    :'yresolution' => :'Yresolution',
    
    # 
    :'fax_t4_options' => :'FaxT4Options',
    
    # 
    :'predictor' => :'Predictor',
    
    # 
    :'image_length' => :'ImageLength',
    
    # 
    :'image_width' => :'ImageWidth',
    
    # 
    :'valid_tag_count' => :'ValidTagCount',
    
    # 
    :'bits_per_pixel' => :'BitsPerPixel'
    
  }
end

.swagger_typesObject

attribute type



151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# File 'lib/aspose_imaging_cloud/models/tiff_options.rb', line 151

def self.swagger_types
  {
    :'is_valid' => :'BOOLEAN',
    :'artist' => :'String',
    :'byte_order' => :'String',
    :'bits_per_sample' => :'Array<Integer>',
    :'compression' => :'String',
    :'copyright' => :'String',
    :'color_map' => :'Array<Integer>',
    :'date_time' => :'String',
    :'document_name' => :'String',
    :'alpha_storage' => :'String',
    :'fill_order' => :'String',
    :'half_tone_hints' => :'Array<Integer>',
    :'image_description' => :'String',
    :'ink_names' => :'String',
    :'scanner_manufacturer' => :'String',
    :'max_sample_value' => :'Array<Integer>',
    :'min_sample_value' => :'Array<Integer>',
    :'scanner_model' => :'String',
    :'page_name' => :'String',
    :'orientation' => :'String',
    :'page_number' => :'Array<Integer>',
    :'photometric' => :'String',
    :'planar_configuration' => :'String',
    :'resolution_unit' => :'String',
    :'rows_per_strip' => :'Integer',
    :'sample_format' => :'Array<String>',
    :'samples_per_pixel' => :'Integer',
    :'smax_sample_value' => :'Array<Integer>',
    :'smin_sample_value' => :'Array<Integer>',
    :'software_type' => :'String',
    :'strip_byte_counts' => :'Array<Integer>',
    :'strip_offsets' => :'Array<Integer>',
    :'sub_file_type' => :'String',
    :'target_printer' => :'String',
    :'threshholding' => :'String',
    :'total_pages' => :'Integer',
    :'xposition' => :'Float',
    :'xresolution' => :'Float',
    :'yposition' => :'Float',
    :'yresolution' => :'Float',
    :'fax_t4_options' => :'String',
    :'predictor' => :'String',
    :'image_length' => :'Integer',
    :'image_width' => :'Integer',
    :'valid_tag_count' => :'Integer',
    :'bits_per_pixel' => :'Integer'
    
  }
end