imagekitio 4.5.1 → 4.6.0
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/CHANGELOG.md +18 -0
- data/README.md +1 -1
- data/lib/imagekitio/client.rb +2 -2
- data/lib/imagekitio/models/metadata.rb +143 -17
- data/lib/imagekitio/version.rb +1 -1
- data/rbi/imagekitio/client.rbi +2 -2
- data/rbi/imagekitio/models/metadata.rbi +222 -23
- data/sig/imagekitio/models/metadata.rbs +182 -28
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fedc066efa6b23de05d5fbde2a58620df0367b19bc0fe3c4c4088c814341f371
|
|
4
|
+
data.tar.gz: e63e496269f464dfea1b230ae3db7d4dbb31139b776fb5b98204aa7ed53b8afb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86ce4087b4dc5d08936d4b0909b76cd134196ed0afb410c7dbdf101ea03acf7b6f6eff8857acd6738265a3eff8738b42dcd07e0971f63da0ee6252eb21edfb09
|
|
7
|
+
data.tar.gz: 785de1bdd7be3bcd73991b87789539b7cce8e1a45088cb477cef9c5d4dd57c0d3e1193f5f9e540cae9df28350ede54327a226a9f36356f2861da358ac64b984e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.6.0](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.5.1...v4.6.0) (2026-06-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* initial stlc build ([a2757e4](https://github.com/imagekit-developer/imagekit-ruby/commit/a2757e46e00bd414fd2de73c11eb53e01a7633dc))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* metadata response shape ([34e58cd](https://github.com/imagekit-developer/imagekit-ruby/commit/34e58cd2b3d0923881fc15d38e5dfbb32bef2991))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
* Update webhook description ([1581227](https://github.com/imagekit-developer/imagekit-ruby/commit/15812270ccbe7e45a61ee94a4006fb5d02cf9921))
|
|
19
|
+
* Update webhook description ([7e2d29e](https://github.com/imagekit-developer/imagekit-ruby/commit/7e2d29e79c23729d2c2bf5ecbc0439ce53f66099))
|
|
20
|
+
|
|
3
21
|
## 4.5.1 (2026-05-17)
|
|
4
22
|
|
|
5
23
|
Full Changelog: [v4.5.0...v4.5.1](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.5.0...v4.5.1)
|
data/README.md
CHANGED
data/lib/imagekitio/client.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Imagekitio
|
|
|
28
28
|
# Your ImageKit webhook secret for verifying webhook signatures (starts with
|
|
29
29
|
# `whsec_`). You can find this in the
|
|
30
30
|
# [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks). Only
|
|
31
|
-
# required if you
|
|
31
|
+
# required if you are using webhooks.
|
|
32
32
|
# @return [String, nil]
|
|
33
33
|
attr_reader :webhook_secret
|
|
34
34
|
|
|
@@ -90,7 +90,7 @@ module Imagekitio
|
|
|
90
90
|
# @param webhook_secret [String, nil] Your ImageKit webhook secret for verifying webhook signatures (starts with
|
|
91
91
|
# `whsec_`). You can find this in the
|
|
92
92
|
# [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks). Only
|
|
93
|
-
# required if you
|
|
93
|
+
# required if you are using webhooks. Defaults to `ENV["IMAGEKIT_WEBHOOK_SECRET"]`
|
|
94
94
|
#
|
|
95
95
|
# @param base_url [String, nil] Override the default base URL for the API, e.g.,
|
|
96
96
|
# `"https://api.example.com/v2/"`. Defaults to `ENV["IMAGE_KIT_BASE_URL"]`
|
|
@@ -174,6 +174,11 @@ module Imagekitio
|
|
|
174
174
|
# @return [Float, nil]
|
|
175
175
|
optional :aperture_value, Float, api_name: :ApertureValue
|
|
176
176
|
|
|
177
|
+
# @!attribute brightness_value
|
|
178
|
+
#
|
|
179
|
+
# @return [Float, nil]
|
|
180
|
+
optional :brightness_value, Float, api_name: :BrightnessValue
|
|
181
|
+
|
|
177
182
|
# @!attribute color_space
|
|
178
183
|
#
|
|
179
184
|
# @return [Integer, nil]
|
|
@@ -246,8 +251,13 @@ module Imagekitio
|
|
|
246
251
|
|
|
247
252
|
# @!attribute focal_length
|
|
248
253
|
#
|
|
254
|
+
# @return [Float, nil]
|
|
255
|
+
optional :focal_length, Float, api_name: :FocalLength
|
|
256
|
+
|
|
257
|
+
# @!attribute focal_length_in35mm_format
|
|
258
|
+
#
|
|
249
259
|
# @return [Integer, nil]
|
|
250
|
-
optional :
|
|
260
|
+
optional :focal_length_in35mm_format, Integer, api_name: :FocalLengthIn35mmFormat
|
|
251
261
|
|
|
252
262
|
# @!attribute focal_plane_resolution_unit
|
|
253
263
|
#
|
|
@@ -274,6 +284,21 @@ module Imagekitio
|
|
|
274
284
|
# @return [Integer, nil]
|
|
275
285
|
optional :iso, Integer, api_name: :ISO
|
|
276
286
|
|
|
287
|
+
# @!attribute lens_model
|
|
288
|
+
#
|
|
289
|
+
# @return [String, nil]
|
|
290
|
+
optional :lens_model, String, api_name: :LensModel
|
|
291
|
+
|
|
292
|
+
# @!attribute light_source
|
|
293
|
+
#
|
|
294
|
+
# @return [Integer, nil]
|
|
295
|
+
optional :light_source, Integer, api_name: :LightSource
|
|
296
|
+
|
|
297
|
+
# @!attribute max_aperture_value
|
|
298
|
+
#
|
|
299
|
+
# @return [Float, nil]
|
|
300
|
+
optional :max_aperture_value, Float, api_name: :MaxApertureValue
|
|
301
|
+
|
|
277
302
|
# @!attribute metering_mode
|
|
278
303
|
#
|
|
279
304
|
# @return [Integer, nil]
|
|
@@ -284,6 +309,16 @@ module Imagekitio
|
|
|
284
309
|
# @return [Integer, nil]
|
|
285
310
|
optional :scene_capture_type, Integer, api_name: :SceneCaptureType
|
|
286
311
|
|
|
312
|
+
# @!attribute scene_type
|
|
313
|
+
#
|
|
314
|
+
# @return [String, nil]
|
|
315
|
+
optional :scene_type, String, api_name: :SceneType
|
|
316
|
+
|
|
317
|
+
# @!attribute sensing_method
|
|
318
|
+
#
|
|
319
|
+
# @return [Integer, nil]
|
|
320
|
+
optional :sensing_method, Integer, api_name: :SensingMethod
|
|
321
|
+
|
|
287
322
|
# @!attribute shutter_speed_value
|
|
288
323
|
#
|
|
289
324
|
# @return [Float, nil]
|
|
@@ -294,15 +329,21 @@ module Imagekitio
|
|
|
294
329
|
# @return [String, nil]
|
|
295
330
|
optional :sub_sec_time, String, api_name: :SubSecTime
|
|
296
331
|
|
|
332
|
+
# @!attribute user_comment
|
|
333
|
+
#
|
|
334
|
+
# @return [String, nil]
|
|
335
|
+
optional :user_comment, String, api_name: :UserComment
|
|
336
|
+
|
|
297
337
|
# @!attribute white_balance
|
|
298
338
|
#
|
|
299
339
|
# @return [Integer, nil]
|
|
300
340
|
optional :white_balance, Integer, api_name: :WhiteBalance
|
|
301
341
|
|
|
302
|
-
# @!method initialize(aperture_value: nil, color_space: nil, create_date: nil, custom_rendered: nil, date_time_original: nil, exif_image_height: nil, exif_image_width: nil, exif_version: nil, exposure_compensation: nil, exposure_mode: nil, exposure_program: nil, exposure_time: nil, flash: nil, flashpix_version: nil, f_number: nil, focal_length: nil, focal_plane_resolution_unit: nil, focal_plane_x_resolution: nil, focal_plane_y_resolution: nil, interop_offset: nil, iso: nil, metering_mode: nil, scene_capture_type: nil, shutter_speed_value: nil, sub_sec_time: nil, white_balance: nil)
|
|
342
|
+
# @!method initialize(aperture_value: nil, brightness_value: nil, color_space: nil, create_date: nil, custom_rendered: nil, date_time_original: nil, exif_image_height: nil, exif_image_width: nil, exif_version: nil, exposure_compensation: nil, exposure_mode: nil, exposure_program: nil, exposure_time: nil, flash: nil, flashpix_version: nil, f_number: nil, focal_length: nil, focal_length_in35mm_format: nil, focal_plane_resolution_unit: nil, focal_plane_x_resolution: nil, focal_plane_y_resolution: nil, interop_offset: nil, iso: nil, lens_model: nil, light_source: nil, max_aperture_value: nil, metering_mode: nil, scene_capture_type: nil, scene_type: nil, sensing_method: nil, shutter_speed_value: nil, sub_sec_time: nil, user_comment: nil, white_balance: nil)
|
|
303
343
|
# Object containing Exif details.
|
|
304
344
|
#
|
|
305
345
|
# @param aperture_value [Float]
|
|
346
|
+
# @param brightness_value [Float]
|
|
306
347
|
# @param color_space [Integer]
|
|
307
348
|
# @param create_date [String]
|
|
308
349
|
# @param custom_rendered [Integer]
|
|
@@ -317,34 +358,111 @@ module Imagekitio
|
|
|
317
358
|
# @param flash [Integer]
|
|
318
359
|
# @param flashpix_version [String]
|
|
319
360
|
# @param f_number [Float]
|
|
320
|
-
# @param focal_length [
|
|
361
|
+
# @param focal_length [Float]
|
|
362
|
+
# @param focal_length_in35mm_format [Integer]
|
|
321
363
|
# @param focal_plane_resolution_unit [Integer]
|
|
322
364
|
# @param focal_plane_x_resolution [Float]
|
|
323
365
|
# @param focal_plane_y_resolution [Float]
|
|
324
366
|
# @param interop_offset [Integer]
|
|
325
367
|
# @param iso [Integer]
|
|
368
|
+
# @param lens_model [String]
|
|
369
|
+
# @param light_source [Integer]
|
|
370
|
+
# @param max_aperture_value [Float]
|
|
326
371
|
# @param metering_mode [Integer]
|
|
327
372
|
# @param scene_capture_type [Integer]
|
|
373
|
+
# @param scene_type [String]
|
|
374
|
+
# @param sensing_method [Integer]
|
|
328
375
|
# @param shutter_speed_value [Float]
|
|
329
376
|
# @param sub_sec_time [String]
|
|
377
|
+
# @param user_comment [String]
|
|
330
378
|
# @param white_balance [Integer]
|
|
331
379
|
end
|
|
332
380
|
|
|
333
381
|
# @see Imagekitio::Models::Metadata::Exif#gps
|
|
334
382
|
class Gps < Imagekitio::Internal::Type::BaseModel
|
|
383
|
+
# @!attribute gps_altitude
|
|
384
|
+
#
|
|
385
|
+
# @return [Float, nil]
|
|
386
|
+
optional :gps_altitude, Float, api_name: :GPSAltitude
|
|
387
|
+
|
|
388
|
+
# @!attribute gps_altitude_ref
|
|
389
|
+
#
|
|
390
|
+
# @return [Integer, nil]
|
|
391
|
+
optional :gps_altitude_ref, Integer, api_name: :GPSAltitudeRef
|
|
392
|
+
|
|
393
|
+
# @!attribute gps_date_stamp
|
|
394
|
+
#
|
|
395
|
+
# @return [String, nil]
|
|
396
|
+
optional :gps_date_stamp, String, api_name: :GPSDateStamp
|
|
397
|
+
|
|
398
|
+
# @!attribute gps_img_direction
|
|
399
|
+
#
|
|
400
|
+
# @return [Float, nil]
|
|
401
|
+
optional :gps_img_direction, Float, api_name: :GPSImgDirection
|
|
402
|
+
|
|
403
|
+
# @!attribute gps_img_direction_ref
|
|
404
|
+
#
|
|
405
|
+
# @return [String, nil]
|
|
406
|
+
optional :gps_img_direction_ref, String, api_name: :GPSImgDirectionRef
|
|
407
|
+
|
|
408
|
+
# @!attribute gps_latitude
|
|
409
|
+
#
|
|
410
|
+
# @return [Array<Float>, nil]
|
|
411
|
+
optional :gps_latitude, Imagekitio::Internal::Type::ArrayOf[Float], api_name: :GPSLatitude
|
|
412
|
+
|
|
413
|
+
# @!attribute gps_latitude_ref
|
|
414
|
+
#
|
|
415
|
+
# @return [String, nil]
|
|
416
|
+
optional :gps_latitude_ref, String, api_name: :GPSLatitudeRef
|
|
417
|
+
|
|
418
|
+
# @!attribute gps_longitude
|
|
419
|
+
#
|
|
420
|
+
# @return [Array<Float>, nil]
|
|
421
|
+
optional :gps_longitude, Imagekitio::Internal::Type::ArrayOf[Float], api_name: :GPSLongitude
|
|
422
|
+
|
|
423
|
+
# @!attribute gps_longitude_ref
|
|
424
|
+
#
|
|
425
|
+
# @return [String, nil]
|
|
426
|
+
optional :gps_longitude_ref, String, api_name: :GPSLongitudeRef
|
|
427
|
+
|
|
428
|
+
# @!attribute gps_time_stamp
|
|
429
|
+
#
|
|
430
|
+
# @return [Array<Float>, nil]
|
|
431
|
+
optional :gps_time_stamp, Imagekitio::Internal::Type::ArrayOf[Float], api_name: :GPSTimeStamp
|
|
432
|
+
|
|
335
433
|
# @!attribute gps_version_id
|
|
336
434
|
#
|
|
337
435
|
# @return [Array<Integer>, nil]
|
|
338
436
|
optional :gps_version_id, Imagekitio::Internal::Type::ArrayOf[Integer], api_name: :GPSVersionID
|
|
339
437
|
|
|
340
|
-
# @!method initialize(gps_version_id: nil)
|
|
438
|
+
# @!method initialize(gps_altitude: nil, gps_altitude_ref: nil, gps_date_stamp: nil, gps_img_direction: nil, gps_img_direction_ref: nil, gps_latitude: nil, gps_latitude_ref: nil, gps_longitude: nil, gps_longitude_ref: nil, gps_time_stamp: nil, gps_version_id: nil)
|
|
341
439
|
# Object containing GPS information.
|
|
342
440
|
#
|
|
441
|
+
# @param gps_altitude [Float]
|
|
442
|
+
# @param gps_altitude_ref [Integer]
|
|
443
|
+
# @param gps_date_stamp [String]
|
|
444
|
+
# @param gps_img_direction [Float]
|
|
445
|
+
# @param gps_img_direction_ref [String]
|
|
446
|
+
# @param gps_latitude [Array<Float>]
|
|
447
|
+
# @param gps_latitude_ref [String]
|
|
448
|
+
# @param gps_longitude [Array<Float>]
|
|
449
|
+
# @param gps_longitude_ref [String]
|
|
450
|
+
# @param gps_time_stamp [Array<Float>]
|
|
343
451
|
# @param gps_version_id [Array<Integer>]
|
|
344
452
|
end
|
|
345
453
|
|
|
346
454
|
# @see Imagekitio::Models::Metadata::Exif#image
|
|
347
455
|
class Image < Imagekitio::Internal::Type::BaseModel
|
|
456
|
+
# @!attribute artist
|
|
457
|
+
#
|
|
458
|
+
# @return [String, nil]
|
|
459
|
+
optional :artist, String, api_name: :Artist
|
|
460
|
+
|
|
461
|
+
# @!attribute copyright
|
|
462
|
+
#
|
|
463
|
+
# @return [String, nil]
|
|
464
|
+
optional :copyright, String, api_name: :Copyright
|
|
465
|
+
|
|
348
466
|
# @!attribute exif_offset
|
|
349
467
|
#
|
|
350
468
|
# @return [Integer, nil]
|
|
@@ -355,6 +473,11 @@ module Imagekitio
|
|
|
355
473
|
# @return [Integer, nil]
|
|
356
474
|
optional :gps_info, Integer, api_name: :GPSInfo
|
|
357
475
|
|
|
476
|
+
# @!attribute image_description
|
|
477
|
+
#
|
|
478
|
+
# @return [String, nil]
|
|
479
|
+
optional :image_description, String, api_name: :ImageDescription
|
|
480
|
+
|
|
358
481
|
# @!attribute make
|
|
359
482
|
#
|
|
360
483
|
# @return [String, nil]
|
|
@@ -387,8 +510,8 @@ module Imagekitio
|
|
|
387
510
|
|
|
388
511
|
# @!attribute x_resolution
|
|
389
512
|
#
|
|
390
|
-
# @return [
|
|
391
|
-
optional :x_resolution,
|
|
513
|
+
# @return [Float, nil]
|
|
514
|
+
optional :x_resolution, Float, api_name: :XResolution
|
|
392
515
|
|
|
393
516
|
# @!attribute y_cb_cr_positioning
|
|
394
517
|
#
|
|
@@ -397,23 +520,26 @@ module Imagekitio
|
|
|
397
520
|
|
|
398
521
|
# @!attribute y_resolution
|
|
399
522
|
#
|
|
400
|
-
# @return [
|
|
401
|
-
optional :y_resolution,
|
|
523
|
+
# @return [Float, nil]
|
|
524
|
+
optional :y_resolution, Float, api_name: :YResolution
|
|
402
525
|
|
|
403
|
-
# @!method initialize(exif_offset: nil, gps_info: nil, make: nil, model: nil, modify_date: nil, orientation: nil, resolution_unit: nil, software: nil, x_resolution: nil, y_cb_cr_positioning: nil, y_resolution: nil)
|
|
526
|
+
# @!method initialize(artist: nil, copyright: nil, exif_offset: nil, gps_info: nil, image_description: nil, make: nil, model: nil, modify_date: nil, orientation: nil, resolution_unit: nil, software: nil, x_resolution: nil, y_cb_cr_positioning: nil, y_resolution: nil)
|
|
404
527
|
# Object containing EXIF image information.
|
|
405
528
|
#
|
|
529
|
+
# @param artist [String]
|
|
530
|
+
# @param copyright [String]
|
|
406
531
|
# @param exif_offset [Integer]
|
|
407
532
|
# @param gps_info [Integer]
|
|
533
|
+
# @param image_description [String]
|
|
408
534
|
# @param make [String]
|
|
409
535
|
# @param model [String]
|
|
410
536
|
# @param modify_date [String]
|
|
411
537
|
# @param orientation [Integer]
|
|
412
538
|
# @param resolution_unit [Integer]
|
|
413
539
|
# @param software [String]
|
|
414
|
-
# @param x_resolution [
|
|
540
|
+
# @param x_resolution [Float]
|
|
415
541
|
# @param y_cb_cr_positioning [Integer]
|
|
416
|
-
# @param y_resolution [
|
|
542
|
+
# @param y_resolution [Float]
|
|
417
543
|
end
|
|
418
544
|
|
|
419
545
|
# @see Imagekitio::Models::Metadata::Exif#interoperability
|
|
@@ -459,13 +585,13 @@ module Imagekitio
|
|
|
459
585
|
|
|
460
586
|
# @!attribute x_resolution
|
|
461
587
|
#
|
|
462
|
-
# @return [
|
|
463
|
-
optional :x_resolution,
|
|
588
|
+
# @return [Float, nil]
|
|
589
|
+
optional :x_resolution, Float, api_name: :XResolution
|
|
464
590
|
|
|
465
591
|
# @!attribute y_resolution
|
|
466
592
|
#
|
|
467
|
-
# @return [
|
|
468
|
-
optional :y_resolution,
|
|
593
|
+
# @return [Float, nil]
|
|
594
|
+
optional :y_resolution, Float, api_name: :YResolution
|
|
469
595
|
|
|
470
596
|
# @!method initialize(compression: nil, resolution_unit: nil, thumbnail_length: nil, thumbnail_offset: nil, x_resolution: nil, y_resolution: nil)
|
|
471
597
|
# Object containing Thumbnail information.
|
|
@@ -474,8 +600,8 @@ module Imagekitio
|
|
|
474
600
|
# @param resolution_unit [Integer]
|
|
475
601
|
# @param thumbnail_length [Integer]
|
|
476
602
|
# @param thumbnail_offset [Integer]
|
|
477
|
-
# @param x_resolution [
|
|
478
|
-
# @param y_resolution [
|
|
603
|
+
# @param x_resolution [Float]
|
|
604
|
+
# @param y_resolution [Float]
|
|
479
605
|
end
|
|
480
606
|
end
|
|
481
607
|
end
|
data/lib/imagekitio/version.rb
CHANGED
data/rbi/imagekitio/client.rbi
CHANGED
|
@@ -23,7 +23,7 @@ module Imagekitio
|
|
|
23
23
|
# Your ImageKit webhook secret for verifying webhook signatures (starts with
|
|
24
24
|
# `whsec_`). You can find this in the
|
|
25
25
|
# [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks). Only
|
|
26
|
-
# required if you
|
|
26
|
+
# required if you are using webhooks.
|
|
27
27
|
sig { returns(T.nilable(String)) }
|
|
28
28
|
attr_reader :webhook_secret
|
|
29
29
|
|
|
@@ -92,7 +92,7 @@ module Imagekitio
|
|
|
92
92
|
# Your ImageKit webhook secret for verifying webhook signatures (starts with
|
|
93
93
|
# `whsec_`). You can find this in the
|
|
94
94
|
# [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks). Only
|
|
95
|
-
# required if you
|
|
95
|
+
# required if you are using webhooks. Defaults to `ENV["IMAGEKIT_WEBHOOK_SECRET"]`
|
|
96
96
|
webhook_secret: ENV["IMAGEKIT_WEBHOOK_SECRET"],
|
|
97
97
|
# Override the default base URL for the API, e.g.,
|
|
98
98
|
# `"https://api.example.com/v2/"`. Defaults to `ENV["IMAGE_KIT_BASE_URL"]`
|
|
@@ -288,6 +288,12 @@ module Imagekitio
|
|
|
288
288
|
sig { params(aperture_value: Float).void }
|
|
289
289
|
attr_writer :aperture_value
|
|
290
290
|
|
|
291
|
+
sig { returns(T.nilable(Float)) }
|
|
292
|
+
attr_reader :brightness_value
|
|
293
|
+
|
|
294
|
+
sig { params(brightness_value: Float).void }
|
|
295
|
+
attr_writer :brightness_value
|
|
296
|
+
|
|
291
297
|
sig { returns(T.nilable(Integer)) }
|
|
292
298
|
attr_reader :color_space
|
|
293
299
|
|
|
@@ -372,12 +378,18 @@ module Imagekitio
|
|
|
372
378
|
sig { params(f_number: Float).void }
|
|
373
379
|
attr_writer :f_number
|
|
374
380
|
|
|
375
|
-
sig { returns(T.nilable(
|
|
381
|
+
sig { returns(T.nilable(Float)) }
|
|
376
382
|
attr_reader :focal_length
|
|
377
383
|
|
|
378
|
-
sig { params(focal_length:
|
|
384
|
+
sig { params(focal_length: Float).void }
|
|
379
385
|
attr_writer :focal_length
|
|
380
386
|
|
|
387
|
+
sig { returns(T.nilable(Integer)) }
|
|
388
|
+
attr_reader :focal_length_in35mm_format
|
|
389
|
+
|
|
390
|
+
sig { params(focal_length_in35mm_format: Integer).void }
|
|
391
|
+
attr_writer :focal_length_in35mm_format
|
|
392
|
+
|
|
381
393
|
sig { returns(T.nilable(Integer)) }
|
|
382
394
|
attr_reader :focal_plane_resolution_unit
|
|
383
395
|
|
|
@@ -408,6 +420,24 @@ module Imagekitio
|
|
|
408
420
|
sig { params(iso: Integer).void }
|
|
409
421
|
attr_writer :iso
|
|
410
422
|
|
|
423
|
+
sig { returns(T.nilable(String)) }
|
|
424
|
+
attr_reader :lens_model
|
|
425
|
+
|
|
426
|
+
sig { params(lens_model: String).void }
|
|
427
|
+
attr_writer :lens_model
|
|
428
|
+
|
|
429
|
+
sig { returns(T.nilable(Integer)) }
|
|
430
|
+
attr_reader :light_source
|
|
431
|
+
|
|
432
|
+
sig { params(light_source: Integer).void }
|
|
433
|
+
attr_writer :light_source
|
|
434
|
+
|
|
435
|
+
sig { returns(T.nilable(Float)) }
|
|
436
|
+
attr_reader :max_aperture_value
|
|
437
|
+
|
|
438
|
+
sig { params(max_aperture_value: Float).void }
|
|
439
|
+
attr_writer :max_aperture_value
|
|
440
|
+
|
|
411
441
|
sig { returns(T.nilable(Integer)) }
|
|
412
442
|
attr_reader :metering_mode
|
|
413
443
|
|
|
@@ -420,6 +450,18 @@ module Imagekitio
|
|
|
420
450
|
sig { params(scene_capture_type: Integer).void }
|
|
421
451
|
attr_writer :scene_capture_type
|
|
422
452
|
|
|
453
|
+
sig { returns(T.nilable(String)) }
|
|
454
|
+
attr_reader :scene_type
|
|
455
|
+
|
|
456
|
+
sig { params(scene_type: String).void }
|
|
457
|
+
attr_writer :scene_type
|
|
458
|
+
|
|
459
|
+
sig { returns(T.nilable(Integer)) }
|
|
460
|
+
attr_reader :sensing_method
|
|
461
|
+
|
|
462
|
+
sig { params(sensing_method: Integer).void }
|
|
463
|
+
attr_writer :sensing_method
|
|
464
|
+
|
|
423
465
|
sig { returns(T.nilable(Float)) }
|
|
424
466
|
attr_reader :shutter_speed_value
|
|
425
467
|
|
|
@@ -432,6 +474,12 @@ module Imagekitio
|
|
|
432
474
|
sig { params(sub_sec_time: String).void }
|
|
433
475
|
attr_writer :sub_sec_time
|
|
434
476
|
|
|
477
|
+
sig { returns(T.nilable(String)) }
|
|
478
|
+
attr_reader :user_comment
|
|
479
|
+
|
|
480
|
+
sig { params(user_comment: String).void }
|
|
481
|
+
attr_writer :user_comment
|
|
482
|
+
|
|
435
483
|
sig { returns(T.nilable(Integer)) }
|
|
436
484
|
attr_reader :white_balance
|
|
437
485
|
|
|
@@ -442,6 +490,7 @@ module Imagekitio
|
|
|
442
490
|
sig do
|
|
443
491
|
params(
|
|
444
492
|
aperture_value: Float,
|
|
493
|
+
brightness_value: Float,
|
|
445
494
|
color_space: Integer,
|
|
446
495
|
create_date: String,
|
|
447
496
|
custom_rendered: Integer,
|
|
@@ -456,21 +505,29 @@ module Imagekitio
|
|
|
456
505
|
flash: Integer,
|
|
457
506
|
flashpix_version: String,
|
|
458
507
|
f_number: Float,
|
|
459
|
-
focal_length:
|
|
508
|
+
focal_length: Float,
|
|
509
|
+
focal_length_in35mm_format: Integer,
|
|
460
510
|
focal_plane_resolution_unit: Integer,
|
|
461
511
|
focal_plane_x_resolution: Float,
|
|
462
512
|
focal_plane_y_resolution: Float,
|
|
463
513
|
interop_offset: Integer,
|
|
464
514
|
iso: Integer,
|
|
515
|
+
lens_model: String,
|
|
516
|
+
light_source: Integer,
|
|
517
|
+
max_aperture_value: Float,
|
|
465
518
|
metering_mode: Integer,
|
|
466
519
|
scene_capture_type: Integer,
|
|
520
|
+
scene_type: String,
|
|
521
|
+
sensing_method: Integer,
|
|
467
522
|
shutter_speed_value: Float,
|
|
468
523
|
sub_sec_time: String,
|
|
524
|
+
user_comment: String,
|
|
469
525
|
white_balance: Integer
|
|
470
526
|
).returns(T.attached_class)
|
|
471
527
|
end
|
|
472
528
|
def self.new(
|
|
473
529
|
aperture_value: nil,
|
|
530
|
+
brightness_value: nil,
|
|
474
531
|
color_space: nil,
|
|
475
532
|
create_date: nil,
|
|
476
533
|
custom_rendered: nil,
|
|
@@ -486,15 +543,22 @@ module Imagekitio
|
|
|
486
543
|
flashpix_version: nil,
|
|
487
544
|
f_number: nil,
|
|
488
545
|
focal_length: nil,
|
|
546
|
+
focal_length_in35mm_format: nil,
|
|
489
547
|
focal_plane_resolution_unit: nil,
|
|
490
548
|
focal_plane_x_resolution: nil,
|
|
491
549
|
focal_plane_y_resolution: nil,
|
|
492
550
|
interop_offset: nil,
|
|
493
551
|
iso: nil,
|
|
552
|
+
lens_model: nil,
|
|
553
|
+
light_source: nil,
|
|
554
|
+
max_aperture_value: nil,
|
|
494
555
|
metering_mode: nil,
|
|
495
556
|
scene_capture_type: nil,
|
|
557
|
+
scene_type: nil,
|
|
558
|
+
sensing_method: nil,
|
|
496
559
|
shutter_speed_value: nil,
|
|
497
560
|
sub_sec_time: nil,
|
|
561
|
+
user_comment: nil,
|
|
498
562
|
white_balance: nil
|
|
499
563
|
)
|
|
500
564
|
end
|
|
@@ -503,6 +567,7 @@ module Imagekitio
|
|
|
503
567
|
override.returns(
|
|
504
568
|
{
|
|
505
569
|
aperture_value: Float,
|
|
570
|
+
brightness_value: Float,
|
|
506
571
|
color_space: Integer,
|
|
507
572
|
create_date: String,
|
|
508
573
|
custom_rendered: Integer,
|
|
@@ -517,16 +582,23 @@ module Imagekitio
|
|
|
517
582
|
flash: Integer,
|
|
518
583
|
flashpix_version: String,
|
|
519
584
|
f_number: Float,
|
|
520
|
-
focal_length:
|
|
585
|
+
focal_length: Float,
|
|
586
|
+
focal_length_in35mm_format: Integer,
|
|
521
587
|
focal_plane_resolution_unit: Integer,
|
|
522
588
|
focal_plane_x_resolution: Float,
|
|
523
589
|
focal_plane_y_resolution: Float,
|
|
524
590
|
interop_offset: Integer,
|
|
525
591
|
iso: Integer,
|
|
592
|
+
lens_model: String,
|
|
593
|
+
light_source: Integer,
|
|
594
|
+
max_aperture_value: Float,
|
|
526
595
|
metering_mode: Integer,
|
|
527
596
|
scene_capture_type: Integer,
|
|
597
|
+
scene_type: String,
|
|
598
|
+
sensing_method: Integer,
|
|
528
599
|
shutter_speed_value: Float,
|
|
529
600
|
sub_sec_time: String,
|
|
601
|
+
user_comment: String,
|
|
530
602
|
white_balance: Integer
|
|
531
603
|
}
|
|
532
604
|
)
|
|
@@ -544,6 +616,66 @@ module Imagekitio
|
|
|
544
616
|
)
|
|
545
617
|
end
|
|
546
618
|
|
|
619
|
+
sig { returns(T.nilable(Float)) }
|
|
620
|
+
attr_reader :gps_altitude
|
|
621
|
+
|
|
622
|
+
sig { params(gps_altitude: Float).void }
|
|
623
|
+
attr_writer :gps_altitude
|
|
624
|
+
|
|
625
|
+
sig { returns(T.nilable(Integer)) }
|
|
626
|
+
attr_reader :gps_altitude_ref
|
|
627
|
+
|
|
628
|
+
sig { params(gps_altitude_ref: Integer).void }
|
|
629
|
+
attr_writer :gps_altitude_ref
|
|
630
|
+
|
|
631
|
+
sig { returns(T.nilable(String)) }
|
|
632
|
+
attr_reader :gps_date_stamp
|
|
633
|
+
|
|
634
|
+
sig { params(gps_date_stamp: String).void }
|
|
635
|
+
attr_writer :gps_date_stamp
|
|
636
|
+
|
|
637
|
+
sig { returns(T.nilable(Float)) }
|
|
638
|
+
attr_reader :gps_img_direction
|
|
639
|
+
|
|
640
|
+
sig { params(gps_img_direction: Float).void }
|
|
641
|
+
attr_writer :gps_img_direction
|
|
642
|
+
|
|
643
|
+
sig { returns(T.nilable(String)) }
|
|
644
|
+
attr_reader :gps_img_direction_ref
|
|
645
|
+
|
|
646
|
+
sig { params(gps_img_direction_ref: String).void }
|
|
647
|
+
attr_writer :gps_img_direction_ref
|
|
648
|
+
|
|
649
|
+
sig { returns(T.nilable(T::Array[Float])) }
|
|
650
|
+
attr_reader :gps_latitude
|
|
651
|
+
|
|
652
|
+
sig { params(gps_latitude: T::Array[Float]).void }
|
|
653
|
+
attr_writer :gps_latitude
|
|
654
|
+
|
|
655
|
+
sig { returns(T.nilable(String)) }
|
|
656
|
+
attr_reader :gps_latitude_ref
|
|
657
|
+
|
|
658
|
+
sig { params(gps_latitude_ref: String).void }
|
|
659
|
+
attr_writer :gps_latitude_ref
|
|
660
|
+
|
|
661
|
+
sig { returns(T.nilable(T::Array[Float])) }
|
|
662
|
+
attr_reader :gps_longitude
|
|
663
|
+
|
|
664
|
+
sig { params(gps_longitude: T::Array[Float]).void }
|
|
665
|
+
attr_writer :gps_longitude
|
|
666
|
+
|
|
667
|
+
sig { returns(T.nilable(String)) }
|
|
668
|
+
attr_reader :gps_longitude_ref
|
|
669
|
+
|
|
670
|
+
sig { params(gps_longitude_ref: String).void }
|
|
671
|
+
attr_writer :gps_longitude_ref
|
|
672
|
+
|
|
673
|
+
sig { returns(T.nilable(T::Array[Float])) }
|
|
674
|
+
attr_reader :gps_time_stamp
|
|
675
|
+
|
|
676
|
+
sig { params(gps_time_stamp: T::Array[Float]).void }
|
|
677
|
+
attr_writer :gps_time_stamp
|
|
678
|
+
|
|
547
679
|
sig { returns(T.nilable(T::Array[Integer])) }
|
|
548
680
|
attr_reader :gps_version_id
|
|
549
681
|
|
|
@@ -552,12 +684,52 @@ module Imagekitio
|
|
|
552
684
|
|
|
553
685
|
# Object containing GPS information.
|
|
554
686
|
sig do
|
|
555
|
-
params(
|
|
687
|
+
params(
|
|
688
|
+
gps_altitude: Float,
|
|
689
|
+
gps_altitude_ref: Integer,
|
|
690
|
+
gps_date_stamp: String,
|
|
691
|
+
gps_img_direction: Float,
|
|
692
|
+
gps_img_direction_ref: String,
|
|
693
|
+
gps_latitude: T::Array[Float],
|
|
694
|
+
gps_latitude_ref: String,
|
|
695
|
+
gps_longitude: T::Array[Float],
|
|
696
|
+
gps_longitude_ref: String,
|
|
697
|
+
gps_time_stamp: T::Array[Float],
|
|
698
|
+
gps_version_id: T::Array[Integer]
|
|
699
|
+
).returns(T.attached_class)
|
|
556
700
|
end
|
|
557
|
-
def self.new(
|
|
701
|
+
def self.new(
|
|
702
|
+
gps_altitude: nil,
|
|
703
|
+
gps_altitude_ref: nil,
|
|
704
|
+
gps_date_stamp: nil,
|
|
705
|
+
gps_img_direction: nil,
|
|
706
|
+
gps_img_direction_ref: nil,
|
|
707
|
+
gps_latitude: nil,
|
|
708
|
+
gps_latitude_ref: nil,
|
|
709
|
+
gps_longitude: nil,
|
|
710
|
+
gps_longitude_ref: nil,
|
|
711
|
+
gps_time_stamp: nil,
|
|
712
|
+
gps_version_id: nil
|
|
713
|
+
)
|
|
558
714
|
end
|
|
559
715
|
|
|
560
|
-
sig
|
|
716
|
+
sig do
|
|
717
|
+
override.returns(
|
|
718
|
+
{
|
|
719
|
+
gps_altitude: Float,
|
|
720
|
+
gps_altitude_ref: Integer,
|
|
721
|
+
gps_date_stamp: String,
|
|
722
|
+
gps_img_direction: Float,
|
|
723
|
+
gps_img_direction_ref: String,
|
|
724
|
+
gps_latitude: T::Array[Float],
|
|
725
|
+
gps_latitude_ref: String,
|
|
726
|
+
gps_longitude: T::Array[Float],
|
|
727
|
+
gps_longitude_ref: String,
|
|
728
|
+
gps_time_stamp: T::Array[Float],
|
|
729
|
+
gps_version_id: T::Array[Integer]
|
|
730
|
+
}
|
|
731
|
+
)
|
|
732
|
+
end
|
|
561
733
|
def to_hash
|
|
562
734
|
end
|
|
563
735
|
end
|
|
@@ -571,6 +743,18 @@ module Imagekitio
|
|
|
571
743
|
)
|
|
572
744
|
end
|
|
573
745
|
|
|
746
|
+
sig { returns(T.nilable(String)) }
|
|
747
|
+
attr_reader :artist
|
|
748
|
+
|
|
749
|
+
sig { params(artist: String).void }
|
|
750
|
+
attr_writer :artist
|
|
751
|
+
|
|
752
|
+
sig { returns(T.nilable(String)) }
|
|
753
|
+
attr_reader :copyright
|
|
754
|
+
|
|
755
|
+
sig { params(copyright: String).void }
|
|
756
|
+
attr_writer :copyright
|
|
757
|
+
|
|
574
758
|
sig { returns(T.nilable(Integer)) }
|
|
575
759
|
attr_reader :exif_offset
|
|
576
760
|
|
|
@@ -583,6 +767,12 @@ module Imagekitio
|
|
|
583
767
|
sig { params(gps_info: Integer).void }
|
|
584
768
|
attr_writer :gps_info
|
|
585
769
|
|
|
770
|
+
sig { returns(T.nilable(String)) }
|
|
771
|
+
attr_reader :image_description
|
|
772
|
+
|
|
773
|
+
sig { params(image_description: String).void }
|
|
774
|
+
attr_writer :image_description
|
|
775
|
+
|
|
586
776
|
sig { returns(T.nilable(String)) }
|
|
587
777
|
attr_reader :make
|
|
588
778
|
|
|
@@ -619,10 +809,10 @@ module Imagekitio
|
|
|
619
809
|
sig { params(software: String).void }
|
|
620
810
|
attr_writer :software
|
|
621
811
|
|
|
622
|
-
sig { returns(T.nilable(
|
|
812
|
+
sig { returns(T.nilable(Float)) }
|
|
623
813
|
attr_reader :x_resolution
|
|
624
814
|
|
|
625
|
-
sig { params(x_resolution:
|
|
815
|
+
sig { params(x_resolution: Float).void }
|
|
626
816
|
attr_writer :x_resolution
|
|
627
817
|
|
|
628
818
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -631,31 +821,37 @@ module Imagekitio
|
|
|
631
821
|
sig { params(y_cb_cr_positioning: Integer).void }
|
|
632
822
|
attr_writer :y_cb_cr_positioning
|
|
633
823
|
|
|
634
|
-
sig { returns(T.nilable(
|
|
824
|
+
sig { returns(T.nilable(Float)) }
|
|
635
825
|
attr_reader :y_resolution
|
|
636
826
|
|
|
637
|
-
sig { params(y_resolution:
|
|
827
|
+
sig { params(y_resolution: Float).void }
|
|
638
828
|
attr_writer :y_resolution
|
|
639
829
|
|
|
640
830
|
# Object containing EXIF image information.
|
|
641
831
|
sig do
|
|
642
832
|
params(
|
|
833
|
+
artist: String,
|
|
834
|
+
copyright: String,
|
|
643
835
|
exif_offset: Integer,
|
|
644
836
|
gps_info: Integer,
|
|
837
|
+
image_description: String,
|
|
645
838
|
make: String,
|
|
646
839
|
model: String,
|
|
647
840
|
modify_date: String,
|
|
648
841
|
orientation: Integer,
|
|
649
842
|
resolution_unit: Integer,
|
|
650
843
|
software: String,
|
|
651
|
-
x_resolution:
|
|
844
|
+
x_resolution: Float,
|
|
652
845
|
y_cb_cr_positioning: Integer,
|
|
653
|
-
y_resolution:
|
|
846
|
+
y_resolution: Float
|
|
654
847
|
).returns(T.attached_class)
|
|
655
848
|
end
|
|
656
849
|
def self.new(
|
|
850
|
+
artist: nil,
|
|
851
|
+
copyright: nil,
|
|
657
852
|
exif_offset: nil,
|
|
658
853
|
gps_info: nil,
|
|
854
|
+
image_description: nil,
|
|
659
855
|
make: nil,
|
|
660
856
|
model: nil,
|
|
661
857
|
modify_date: nil,
|
|
@@ -671,17 +867,20 @@ module Imagekitio
|
|
|
671
867
|
sig do
|
|
672
868
|
override.returns(
|
|
673
869
|
{
|
|
870
|
+
artist: String,
|
|
871
|
+
copyright: String,
|
|
674
872
|
exif_offset: Integer,
|
|
675
873
|
gps_info: Integer,
|
|
874
|
+
image_description: String,
|
|
676
875
|
make: String,
|
|
677
876
|
model: String,
|
|
678
877
|
modify_date: String,
|
|
679
878
|
orientation: Integer,
|
|
680
879
|
resolution_unit: Integer,
|
|
681
880
|
software: String,
|
|
682
|
-
x_resolution:
|
|
881
|
+
x_resolution: Float,
|
|
683
882
|
y_cb_cr_positioning: Integer,
|
|
684
|
-
y_resolution:
|
|
883
|
+
y_resolution: Float
|
|
685
884
|
}
|
|
686
885
|
)
|
|
687
886
|
end
|
|
@@ -759,16 +958,16 @@ module Imagekitio
|
|
|
759
958
|
sig { params(thumbnail_offset: Integer).void }
|
|
760
959
|
attr_writer :thumbnail_offset
|
|
761
960
|
|
|
762
|
-
sig { returns(T.nilable(
|
|
961
|
+
sig { returns(T.nilable(Float)) }
|
|
763
962
|
attr_reader :x_resolution
|
|
764
963
|
|
|
765
|
-
sig { params(x_resolution:
|
|
964
|
+
sig { params(x_resolution: Float).void }
|
|
766
965
|
attr_writer :x_resolution
|
|
767
966
|
|
|
768
|
-
sig { returns(T.nilable(
|
|
967
|
+
sig { returns(T.nilable(Float)) }
|
|
769
968
|
attr_reader :y_resolution
|
|
770
969
|
|
|
771
|
-
sig { params(y_resolution:
|
|
970
|
+
sig { params(y_resolution: Float).void }
|
|
772
971
|
attr_writer :y_resolution
|
|
773
972
|
|
|
774
973
|
# Object containing Thumbnail information.
|
|
@@ -778,8 +977,8 @@ module Imagekitio
|
|
|
778
977
|
resolution_unit: Integer,
|
|
779
978
|
thumbnail_length: Integer,
|
|
780
979
|
thumbnail_offset: Integer,
|
|
781
|
-
x_resolution:
|
|
782
|
-
y_resolution:
|
|
980
|
+
x_resolution: Float,
|
|
981
|
+
y_resolution: Float
|
|
783
982
|
).returns(T.attached_class)
|
|
784
983
|
end
|
|
785
984
|
def self.new(
|
|
@@ -799,8 +998,8 @@ module Imagekitio
|
|
|
799
998
|
resolution_unit: Integer,
|
|
800
999
|
thumbnail_length: Integer,
|
|
801
1000
|
thumbnail_offset: Integer,
|
|
802
|
-
x_resolution:
|
|
803
|
-
y_resolution:
|
|
1001
|
+
x_resolution: Float,
|
|
1002
|
+
y_resolution: Float
|
|
804
1003
|
}
|
|
805
1004
|
)
|
|
806
1005
|
end
|
|
@@ -175,6 +175,7 @@ module Imagekitio
|
|
|
175
175
|
type exif =
|
|
176
176
|
{
|
|
177
177
|
aperture_value: Float,
|
|
178
|
+
brightness_value: Float,
|
|
178
179
|
color_space: Integer,
|
|
179
180
|
create_date: String,
|
|
180
181
|
custom_rendered: Integer,
|
|
@@ -189,16 +190,23 @@ module Imagekitio
|
|
|
189
190
|
flash: Integer,
|
|
190
191
|
flashpix_version: String,
|
|
191
192
|
f_number: Float,
|
|
192
|
-
focal_length:
|
|
193
|
+
focal_length: Float,
|
|
194
|
+
:focal_length_in35mm_format => Integer,
|
|
193
195
|
focal_plane_resolution_unit: Integer,
|
|
194
196
|
focal_plane_x_resolution: Float,
|
|
195
197
|
focal_plane_y_resolution: Float,
|
|
196
198
|
interop_offset: Integer,
|
|
197
199
|
iso: Integer,
|
|
200
|
+
lens_model: String,
|
|
201
|
+
light_source: Integer,
|
|
202
|
+
max_aperture_value: Float,
|
|
198
203
|
metering_mode: Integer,
|
|
199
204
|
scene_capture_type: Integer,
|
|
205
|
+
scene_type: String,
|
|
206
|
+
sensing_method: Integer,
|
|
200
207
|
shutter_speed_value: Float,
|
|
201
208
|
sub_sec_time: String,
|
|
209
|
+
user_comment: String,
|
|
202
210
|
white_balance: Integer
|
|
203
211
|
}
|
|
204
212
|
|
|
@@ -207,6 +215,10 @@ module Imagekitio
|
|
|
207
215
|
|
|
208
216
|
def aperture_value=: (Float) -> Float
|
|
209
217
|
|
|
218
|
+
attr_reader brightness_value: Float?
|
|
219
|
+
|
|
220
|
+
def brightness_value=: (Float) -> Float
|
|
221
|
+
|
|
210
222
|
attr_reader color_space: Integer?
|
|
211
223
|
|
|
212
224
|
def color_space=: (Integer) -> Integer
|
|
@@ -263,9 +275,13 @@ module Imagekitio
|
|
|
263
275
|
|
|
264
276
|
def f_number=: (Float) -> Float
|
|
265
277
|
|
|
266
|
-
attr_reader focal_length:
|
|
278
|
+
attr_reader focal_length: Float?
|
|
279
|
+
|
|
280
|
+
def focal_length=: (Float) -> Float
|
|
267
281
|
|
|
268
|
-
|
|
282
|
+
attr_reader focal_length_in35mm_format: Integer?
|
|
283
|
+
|
|
284
|
+
def focal_length_in35mm_format=: (Integer) -> Integer
|
|
269
285
|
|
|
270
286
|
attr_reader focal_plane_resolution_unit: Integer?
|
|
271
287
|
|
|
@@ -287,6 +303,18 @@ module Imagekitio
|
|
|
287
303
|
|
|
288
304
|
def iso=: (Integer) -> Integer
|
|
289
305
|
|
|
306
|
+
attr_reader lens_model: String?
|
|
307
|
+
|
|
308
|
+
def lens_model=: (String) -> String
|
|
309
|
+
|
|
310
|
+
attr_reader light_source: Integer?
|
|
311
|
+
|
|
312
|
+
def light_source=: (Integer) -> Integer
|
|
313
|
+
|
|
314
|
+
attr_reader max_aperture_value: Float?
|
|
315
|
+
|
|
316
|
+
def max_aperture_value=: (Float) -> Float
|
|
317
|
+
|
|
290
318
|
attr_reader metering_mode: Integer?
|
|
291
319
|
|
|
292
320
|
def metering_mode=: (Integer) -> Integer
|
|
@@ -295,6 +323,14 @@ module Imagekitio
|
|
|
295
323
|
|
|
296
324
|
def scene_capture_type=: (Integer) -> Integer
|
|
297
325
|
|
|
326
|
+
attr_reader scene_type: String?
|
|
327
|
+
|
|
328
|
+
def scene_type=: (String) -> String
|
|
329
|
+
|
|
330
|
+
attr_reader sensing_method: Integer?
|
|
331
|
+
|
|
332
|
+
def sensing_method=: (Integer) -> Integer
|
|
333
|
+
|
|
298
334
|
attr_reader shutter_speed_value: Float?
|
|
299
335
|
|
|
300
336
|
def shutter_speed_value=: (Float) -> Float
|
|
@@ -303,12 +339,17 @@ module Imagekitio
|
|
|
303
339
|
|
|
304
340
|
def sub_sec_time=: (String) -> String
|
|
305
341
|
|
|
342
|
+
attr_reader user_comment: String?
|
|
343
|
+
|
|
344
|
+
def user_comment=: (String) -> String
|
|
345
|
+
|
|
306
346
|
attr_reader white_balance: Integer?
|
|
307
347
|
|
|
308
348
|
def white_balance=: (Integer) -> Integer
|
|
309
349
|
|
|
310
350
|
def initialize: (
|
|
311
351
|
?aperture_value: Float,
|
|
352
|
+
?brightness_value: Float,
|
|
312
353
|
?color_space: Integer,
|
|
313
354
|
?create_date: String,
|
|
314
355
|
?custom_rendered: Integer,
|
|
@@ -323,21 +364,29 @@ module Imagekitio
|
|
|
323
364
|
?flash: Integer,
|
|
324
365
|
?flashpix_version: String,
|
|
325
366
|
?f_number: Float,
|
|
326
|
-
?focal_length:
|
|
367
|
+
?focal_length: Float,
|
|
368
|
+
?focal_length_in35mm_format: Integer,
|
|
327
369
|
?focal_plane_resolution_unit: Integer,
|
|
328
370
|
?focal_plane_x_resolution: Float,
|
|
329
371
|
?focal_plane_y_resolution: Float,
|
|
330
372
|
?interop_offset: Integer,
|
|
331
373
|
?iso: Integer,
|
|
374
|
+
?lens_model: String,
|
|
375
|
+
?light_source: Integer,
|
|
376
|
+
?max_aperture_value: Float,
|
|
332
377
|
?metering_mode: Integer,
|
|
333
378
|
?scene_capture_type: Integer,
|
|
379
|
+
?scene_type: String,
|
|
380
|
+
?sensing_method: Integer,
|
|
334
381
|
?shutter_speed_value: Float,
|
|
335
382
|
?sub_sec_time: String,
|
|
383
|
+
?user_comment: String,
|
|
336
384
|
?white_balance: Integer
|
|
337
385
|
) -> void
|
|
338
386
|
|
|
339
387
|
def to_hash: -> {
|
|
340
388
|
aperture_value: Float,
|
|
389
|
+
brightness_value: Float,
|
|
341
390
|
color_space: Integer,
|
|
342
391
|
create_date: String,
|
|
343
392
|
custom_rendered: Integer,
|
|
@@ -352,48 +401,143 @@ module Imagekitio
|
|
|
352
401
|
flash: Integer,
|
|
353
402
|
flashpix_version: String,
|
|
354
403
|
f_number: Float,
|
|
355
|
-
focal_length:
|
|
404
|
+
focal_length: Float,
|
|
405
|
+
:focal_length_in35mm_format => Integer,
|
|
356
406
|
focal_plane_resolution_unit: Integer,
|
|
357
407
|
focal_plane_x_resolution: Float,
|
|
358
408
|
focal_plane_y_resolution: Float,
|
|
359
409
|
interop_offset: Integer,
|
|
360
410
|
iso: Integer,
|
|
411
|
+
lens_model: String,
|
|
412
|
+
light_source: Integer,
|
|
413
|
+
max_aperture_value: Float,
|
|
361
414
|
metering_mode: Integer,
|
|
362
415
|
scene_capture_type: Integer,
|
|
416
|
+
scene_type: String,
|
|
417
|
+
sensing_method: Integer,
|
|
363
418
|
shutter_speed_value: Float,
|
|
364
419
|
sub_sec_time: String,
|
|
420
|
+
user_comment: String,
|
|
365
421
|
white_balance: Integer
|
|
366
422
|
}
|
|
367
423
|
end
|
|
368
424
|
|
|
369
|
-
type gps =
|
|
425
|
+
type gps =
|
|
426
|
+
{
|
|
427
|
+
gps_altitude: Float,
|
|
428
|
+
gps_altitude_ref: Integer,
|
|
429
|
+
gps_date_stamp: String,
|
|
430
|
+
gps_img_direction: Float,
|
|
431
|
+
gps_img_direction_ref: String,
|
|
432
|
+
gps_latitude: ::Array[Float],
|
|
433
|
+
gps_latitude_ref: String,
|
|
434
|
+
gps_longitude: ::Array[Float],
|
|
435
|
+
gps_longitude_ref: String,
|
|
436
|
+
gps_time_stamp: ::Array[Float],
|
|
437
|
+
gps_version_id: ::Array[Integer]
|
|
438
|
+
}
|
|
370
439
|
|
|
371
440
|
class Gps < Imagekitio::Internal::Type::BaseModel
|
|
441
|
+
attr_reader gps_altitude: Float?
|
|
442
|
+
|
|
443
|
+
def gps_altitude=: (Float) -> Float
|
|
444
|
+
|
|
445
|
+
attr_reader gps_altitude_ref: Integer?
|
|
446
|
+
|
|
447
|
+
def gps_altitude_ref=: (Integer) -> Integer
|
|
448
|
+
|
|
449
|
+
attr_reader gps_date_stamp: String?
|
|
450
|
+
|
|
451
|
+
def gps_date_stamp=: (String) -> String
|
|
452
|
+
|
|
453
|
+
attr_reader gps_img_direction: Float?
|
|
454
|
+
|
|
455
|
+
def gps_img_direction=: (Float) -> Float
|
|
456
|
+
|
|
457
|
+
attr_reader gps_img_direction_ref: String?
|
|
458
|
+
|
|
459
|
+
def gps_img_direction_ref=: (String) -> String
|
|
460
|
+
|
|
461
|
+
attr_reader gps_latitude: ::Array[Float]?
|
|
462
|
+
|
|
463
|
+
def gps_latitude=: (::Array[Float]) -> ::Array[Float]
|
|
464
|
+
|
|
465
|
+
attr_reader gps_latitude_ref: String?
|
|
466
|
+
|
|
467
|
+
def gps_latitude_ref=: (String) -> String
|
|
468
|
+
|
|
469
|
+
attr_reader gps_longitude: ::Array[Float]?
|
|
470
|
+
|
|
471
|
+
def gps_longitude=: (::Array[Float]) -> ::Array[Float]
|
|
472
|
+
|
|
473
|
+
attr_reader gps_longitude_ref: String?
|
|
474
|
+
|
|
475
|
+
def gps_longitude_ref=: (String) -> String
|
|
476
|
+
|
|
477
|
+
attr_reader gps_time_stamp: ::Array[Float]?
|
|
478
|
+
|
|
479
|
+
def gps_time_stamp=: (::Array[Float]) -> ::Array[Float]
|
|
480
|
+
|
|
372
481
|
attr_reader gps_version_id: ::Array[Integer]?
|
|
373
482
|
|
|
374
483
|
def gps_version_id=: (::Array[Integer]) -> ::Array[Integer]
|
|
375
484
|
|
|
376
|
-
def initialize: (
|
|
485
|
+
def initialize: (
|
|
486
|
+
?gps_altitude: Float,
|
|
487
|
+
?gps_altitude_ref: Integer,
|
|
488
|
+
?gps_date_stamp: String,
|
|
489
|
+
?gps_img_direction: Float,
|
|
490
|
+
?gps_img_direction_ref: String,
|
|
491
|
+
?gps_latitude: ::Array[Float],
|
|
492
|
+
?gps_latitude_ref: String,
|
|
493
|
+
?gps_longitude: ::Array[Float],
|
|
494
|
+
?gps_longitude_ref: String,
|
|
495
|
+
?gps_time_stamp: ::Array[Float],
|
|
496
|
+
?gps_version_id: ::Array[Integer]
|
|
497
|
+
) -> void
|
|
377
498
|
|
|
378
|
-
def to_hash: -> {
|
|
499
|
+
def to_hash: -> {
|
|
500
|
+
gps_altitude: Float,
|
|
501
|
+
gps_altitude_ref: Integer,
|
|
502
|
+
gps_date_stamp: String,
|
|
503
|
+
gps_img_direction: Float,
|
|
504
|
+
gps_img_direction_ref: String,
|
|
505
|
+
gps_latitude: ::Array[Float],
|
|
506
|
+
gps_latitude_ref: String,
|
|
507
|
+
gps_longitude: ::Array[Float],
|
|
508
|
+
gps_longitude_ref: String,
|
|
509
|
+
gps_time_stamp: ::Array[Float],
|
|
510
|
+
gps_version_id: ::Array[Integer]
|
|
511
|
+
}
|
|
379
512
|
end
|
|
380
513
|
|
|
381
514
|
type image =
|
|
382
515
|
{
|
|
516
|
+
artist: String,
|
|
517
|
+
copyright: String,
|
|
383
518
|
exif_offset: Integer,
|
|
384
519
|
gps_info: Integer,
|
|
520
|
+
image_description: String,
|
|
385
521
|
make: String,
|
|
386
522
|
model: String,
|
|
387
523
|
modify_date: String,
|
|
388
524
|
orientation: Integer,
|
|
389
525
|
resolution_unit: Integer,
|
|
390
526
|
software: String,
|
|
391
|
-
x_resolution:
|
|
527
|
+
x_resolution: Float,
|
|
392
528
|
y_cb_cr_positioning: Integer,
|
|
393
|
-
y_resolution:
|
|
529
|
+
y_resolution: Float
|
|
394
530
|
}
|
|
395
531
|
|
|
396
532
|
class Image < Imagekitio::Internal::Type::BaseModel
|
|
533
|
+
attr_reader artist: String?
|
|
534
|
+
|
|
535
|
+
def artist=: (String) -> String
|
|
536
|
+
|
|
537
|
+
attr_reader copyright: String?
|
|
538
|
+
|
|
539
|
+
def copyright=: (String) -> String
|
|
540
|
+
|
|
397
541
|
attr_reader exif_offset: Integer?
|
|
398
542
|
|
|
399
543
|
def exif_offset=: (Integer) -> Integer
|
|
@@ -402,6 +546,10 @@ module Imagekitio
|
|
|
402
546
|
|
|
403
547
|
def gps_info=: (Integer) -> Integer
|
|
404
548
|
|
|
549
|
+
attr_reader image_description: String?
|
|
550
|
+
|
|
551
|
+
def image_description=: (String) -> String
|
|
552
|
+
|
|
405
553
|
attr_reader make: String?
|
|
406
554
|
|
|
407
555
|
def make=: (String) -> String
|
|
@@ -426,44 +574,50 @@ module Imagekitio
|
|
|
426
574
|
|
|
427
575
|
def software=: (String) -> String
|
|
428
576
|
|
|
429
|
-
attr_reader x_resolution:
|
|
577
|
+
attr_reader x_resolution: Float?
|
|
430
578
|
|
|
431
|
-
def x_resolution=: (
|
|
579
|
+
def x_resolution=: (Float) -> Float
|
|
432
580
|
|
|
433
581
|
attr_reader y_cb_cr_positioning: Integer?
|
|
434
582
|
|
|
435
583
|
def y_cb_cr_positioning=: (Integer) -> Integer
|
|
436
584
|
|
|
437
|
-
attr_reader y_resolution:
|
|
585
|
+
attr_reader y_resolution: Float?
|
|
438
586
|
|
|
439
|
-
def y_resolution=: (
|
|
587
|
+
def y_resolution=: (Float) -> Float
|
|
440
588
|
|
|
441
589
|
def initialize: (
|
|
590
|
+
?artist: String,
|
|
591
|
+
?copyright: String,
|
|
442
592
|
?exif_offset: Integer,
|
|
443
593
|
?gps_info: Integer,
|
|
594
|
+
?image_description: String,
|
|
444
595
|
?make: String,
|
|
445
596
|
?model: String,
|
|
446
597
|
?modify_date: String,
|
|
447
598
|
?orientation: Integer,
|
|
448
599
|
?resolution_unit: Integer,
|
|
449
600
|
?software: String,
|
|
450
|
-
?x_resolution:
|
|
601
|
+
?x_resolution: Float,
|
|
451
602
|
?y_cb_cr_positioning: Integer,
|
|
452
|
-
?y_resolution:
|
|
603
|
+
?y_resolution: Float
|
|
453
604
|
) -> void
|
|
454
605
|
|
|
455
606
|
def to_hash: -> {
|
|
607
|
+
artist: String,
|
|
608
|
+
copyright: String,
|
|
456
609
|
exif_offset: Integer,
|
|
457
610
|
gps_info: Integer,
|
|
611
|
+
image_description: String,
|
|
458
612
|
make: String,
|
|
459
613
|
model: String,
|
|
460
614
|
modify_date: String,
|
|
461
615
|
orientation: Integer,
|
|
462
616
|
resolution_unit: Integer,
|
|
463
617
|
software: String,
|
|
464
|
-
x_resolution:
|
|
618
|
+
x_resolution: Float,
|
|
465
619
|
y_cb_cr_positioning: Integer,
|
|
466
|
-
y_resolution:
|
|
620
|
+
y_resolution: Float
|
|
467
621
|
}
|
|
468
622
|
end
|
|
469
623
|
|
|
@@ -493,8 +647,8 @@ module Imagekitio
|
|
|
493
647
|
resolution_unit: Integer,
|
|
494
648
|
thumbnail_length: Integer,
|
|
495
649
|
thumbnail_offset: Integer,
|
|
496
|
-
x_resolution:
|
|
497
|
-
y_resolution:
|
|
650
|
+
x_resolution: Float,
|
|
651
|
+
y_resolution: Float
|
|
498
652
|
}
|
|
499
653
|
|
|
500
654
|
class Thumbnail < Imagekitio::Internal::Type::BaseModel
|
|
@@ -514,21 +668,21 @@ module Imagekitio
|
|
|
514
668
|
|
|
515
669
|
def thumbnail_offset=: (Integer) -> Integer
|
|
516
670
|
|
|
517
|
-
attr_reader x_resolution:
|
|
671
|
+
attr_reader x_resolution: Float?
|
|
518
672
|
|
|
519
|
-
def x_resolution=: (
|
|
673
|
+
def x_resolution=: (Float) -> Float
|
|
520
674
|
|
|
521
|
-
attr_reader y_resolution:
|
|
675
|
+
attr_reader y_resolution: Float?
|
|
522
676
|
|
|
523
|
-
def y_resolution=: (
|
|
677
|
+
def y_resolution=: (Float) -> Float
|
|
524
678
|
|
|
525
679
|
def initialize: (
|
|
526
680
|
?compression: Integer,
|
|
527
681
|
?resolution_unit: Integer,
|
|
528
682
|
?thumbnail_length: Integer,
|
|
529
683
|
?thumbnail_offset: Integer,
|
|
530
|
-
?x_resolution:
|
|
531
|
-
?y_resolution:
|
|
684
|
+
?x_resolution: Float,
|
|
685
|
+
?y_resolution: Float
|
|
532
686
|
) -> void
|
|
533
687
|
|
|
534
688
|
def to_hash: -> {
|
|
@@ -536,8 +690,8 @@ module Imagekitio
|
|
|
536
690
|
resolution_unit: Integer,
|
|
537
691
|
thumbnail_length: Integer,
|
|
538
692
|
thumbnail_offset: Integer,
|
|
539
|
-
x_resolution:
|
|
540
|
-
y_resolution:
|
|
693
|
+
x_resolution: Float,
|
|
694
|
+
y_resolution: Float
|
|
541
695
|
}
|
|
542
696
|
end
|
|
543
697
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imagekitio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ImageKit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|