@@ -1018,8 +1018,19 @@ class Image
1018
1018
# @option opts [Vips::ForeignFlags] :flags Output Flags for this file
1019
1019
# @return [Vips::Image, Hash<Symbol => Object>] Output image, Hash of optional output items
1020
1020
1021
+ # @!method self.ppmload_buffer(buffer, **opts)
1022
+ # Load ppm from buffer.
1023
+ # @param buffer [VipsBlob] Buffer to load from
1024
+ # @param opts [Hash] Set of options
1025
+ # @option opts [Boolean] :memory Force open via memory
1026
+ # @option opts [Vips::Access] :access Required access pattern for this file
1027
+ # @option opts [Vips::FailOn] :fail_on Error level to fail on
1028
+ # @option opts [Boolean] :revalidate Don't use a cached result for this operation
1029
+ # @option opts [Vips::ForeignFlags] :flags Output Flags for this file
1030
+ # @return [Vips::Image, Hash<Symbol => Object>] Output image, Hash of optional output items
1031
+
1021
1032
# @!method self.ppmload_source(source, **opts)
1022
- # Load ppm base class .
1033
+ # Load ppm from source .
1023
1034
# @param source [Vips::Source] Source to load from
1024
1035
# @param opts [Hash] Set of options
1025
1036
# @option opts [Boolean] :memory Force open via memory
@@ -1069,6 +1080,8 @@ class Image
1069
1080
# @option opts [Float] :dpi Render at this DPI
1070
1081
# @option opts [Float] :scale Scale output by this factor
1071
1082
# @option opts [Boolean] :unlimited Allow SVG of any size
1083
+ # @option opts [String] :stylesheet Custom CSS
1084
+ # @option opts [Boolean] :high_bitdepth Enable scRGB 128-bit output (32-bit per channel)
1072
1085
# @option opts [Boolean] :memory Force open via memory
1073
1086
# @option opts [Vips::Access] :access Required access pattern for this file
1074
1087
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1083,6 +1096,8 @@ class Image
1083
1096
# @option opts [Float] :dpi Render at this DPI
1084
1097
# @option opts [Float] :scale Scale output by this factor
1085
1098
# @option opts [Boolean] :unlimited Allow SVG of any size
1099
+ # @option opts [String] :stylesheet Custom CSS
1100
+ # @option opts [Boolean] :high_bitdepth Enable scRGB 128-bit output (32-bit per channel)
1086
1101
# @option opts [Boolean] :memory Force open via memory
1087
1102
# @option opts [Vips::Access] :access Required access pattern for this file
1088
1103
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1097,6 +1112,8 @@ class Image
1097
1112
# @option opts [Float] :dpi Render at this DPI
1098
1113
# @option opts [Float] :scale Scale output by this factor
1099
1114
# @option opts [Boolean] :unlimited Allow SVG of any size
1115
+ # @option opts [String] :stylesheet Custom CSS
1116
+ # @option opts [Boolean] :high_bitdepth Enable scRGB 128-bit output (32-bit per channel)
1100
1117
# @option opts [Boolean] :memory Force open via memory
1101
1118
# @option opts [Vips::Access] :access Required access pattern for this file
1102
1119
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1109,6 +1126,7 @@ class Image
1109
1126
# @param filename [String] Filename to load from
1110
1127
# @param opts [Hash] Set of options
1111
1128
# @option opts [Integer] :page Load this page from the image
1129
+ # @option opts [Boolean] :oneshot Load images a frame at a time
1112
1130
# @option opts [Boolean] :memory Force open via memory
1113
1131
# @option opts [Vips::Access] :access Required access pattern for this file
1114
1132
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1121,6 +1139,7 @@ class Image
1121
1139
# @param buffer [VipsBlob] Buffer to load from
1122
1140
# @param opts [Hash] Set of options
1123
1141
# @option opts [Integer] :page Load this page from the image
1142
+ # @option opts [Boolean] :oneshot Load images a frame at a time
1124
1143
# @option opts [Boolean] :memory Force open via memory
1125
1144
# @option opts [Vips::Access] :access Required access pattern for this file
1126
1145
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1133,6 +1152,7 @@ class Image
1133
1152
# @param source [Vips::Source] Source to load from
1134
1153
# @param opts [Hash] Set of options
1135
1154
# @option opts [Integer] :page Load this page from the image
1155
+ # @option opts [Boolean] :oneshot Load images a frame at a time
1136
1156
# @option opts [Boolean] :memory Force open via memory
1137
1157
# @option opts [Vips::Access] :access Required access pattern for this file
1138
1158
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1315,9 +1335,10 @@ class Image
1315
1335
# @param filename [String] Filename to load from
1316
1336
# @param opts [Hash] Set of options
1317
1337
# @option opts [Integer] :page First page to load
1318
- # @option opts [Integer] :subifd Subifd index
1319
1338
# @option opts [Integer] :n Number of pages to load, -1 for all
1320
1339
# @option opts [Boolean] :autorotate Rotate image using orientation tag
1340
+ # @option opts [Integer] :subifd Subifd index
1341
+ # @option opts [Boolean] :unlimited Remove all denial of service limits
1321
1342
# @option opts [Boolean] :memory Force open via memory
1322
1343
# @option opts [Vips::Access] :access Required access pattern for this file
1323
1344
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1330,9 +1351,10 @@ class Image
1330
1351
# @param buffer [VipsBlob] Buffer to load from
1331
1352
# @param opts [Hash] Set of options
1332
1353
# @option opts [Integer] :page First page to load
1333
- # @option opts [Integer] :subifd Subifd index
1334
1354
# @option opts [Integer] :n Number of pages to load, -1 for all
1335
1355
# @option opts [Boolean] :autorotate Rotate image using orientation tag
1356
+ # @option opts [Integer] :subifd Subifd index
1357
+ # @option opts [Boolean] :unlimited Remove all denial of service limits
1336
1358
# @option opts [Boolean] :memory Force open via memory
1337
1359
# @option opts [Vips::Access] :access Required access pattern for this file
1338
1360
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1345,9 +1367,10 @@ class Image
1345
1367
# @param source [Vips::Source] Source to load from
1346
1368
# @param opts [Hash] Set of options
1347
1369
# @option opts [Integer] :page First page to load
1348
- # @option opts [Integer] :subifd Subifd index
1349
1370
# @option opts [Integer] :n Number of pages to load, -1 for all
1350
1371
# @option opts [Boolean] :autorotate Rotate image using orientation tag
1372
+ # @option opts [Integer] :subifd Subifd index
1373
+ # @option opts [Boolean] :unlimited Remove all denial of service limits
1351
1374
# @option opts [Boolean] :memory Force open via memory
1352
1375
# @option opts [Vips::Access] :access Required access pattern for this file
1353
1376
# @option opts [Vips::FailOn] :fail_on Error level to fail on
@@ -1578,7 +1601,7 @@ class Image
1578
1601
# @return [Vips::Image, Hash<Symbol => Object>] Output image, Hash of optional output items
1579
1602
1580
1603
# @!method self.magickload(filename, **opts)
1581
- # Load file with imagemagick .
1604
+ # Load file with imagemagick7 .
1582
1605
# @param filename [String] Filename to load from
1583
1606
# @param opts [Hash] Set of options
1584
1607
# @option opts [String] :density Canvas resolution for rendering vector formats like SVG
@@ -1592,7 +1615,7 @@ class Image
1592
1615
# @return [Vips::Image, Hash<Symbol => Object>] Output image, Hash of optional output items
1593
1616
1594
1617
# @!method self.magickload_buffer(buffer, **opts)
1595
- # Load buffer with imagemagick .
1618
+ # Load buffer with imagemagick7 .
1596
1619
# @param buffer [VipsBlob] Buffer to load from
1597
1620
# @param opts [Hash] Set of options
1598
1621
# @option opts [String] :density Canvas resolution for rendering vector formats like SVG
@@ -1815,6 +1838,7 @@ class Image
1815
1838
# @option opts [Boolean] :reuse Reuse palette from input
1816
1839
# @option opts [Float] :interpalette_maxerror Maximum inter-palette error for palette reusage
1817
1840
# @option opts [Boolean] :interlace Generate an interlaced (progressive) GIF
1841
+ # @option opts [Boolean] :keep_duplicate_frames Keep duplicate frames in the output instead of combining them
1818
1842
# @option opts [Vips::ForeignKeep] :keep Which metadata to retain
1819
1843
# @option opts [Array<Double>] :background Background value
1820
1844
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1831,6 +1855,7 @@ class Image
1831
1855
# @option opts [Boolean] :reuse Reuse palette from input
1832
1856
# @option opts [Float] :interpalette_maxerror Maximum inter-palette error for palette reusage
1833
1857
# @option opts [Boolean] :interlace Generate an interlaced (progressive) GIF
1858
+ # @option opts [Boolean] :keep_duplicate_frames Keep duplicate frames in the output instead of combining them
1834
1859
# @option opts [Vips::ForeignKeep] :keep Which metadata to retain
1835
1860
# @option opts [Array<Double>] :background Background value
1836
1861
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1848,6 +1873,7 @@ class Image
1848
1873
# @option opts [Boolean] :reuse Reuse palette from input
1849
1874
# @option opts [Float] :interpalette_maxerror Maximum inter-palette error for palette reusage
1850
1875
# @option opts [Boolean] :interlace Generate an interlaced (progressive) GIF
1876
+ # @option opts [Boolean] :keep_duplicate_frames Keep duplicate frames in the output instead of combining them
1851
1877
# @option opts [Vips::ForeignKeep] :keep Which metadata to retain
1852
1878
# @option opts [Array<Double>] :background Background value
1853
1879
# @option opts [Integer] :page_height Set page height for multipage save
@@ -2388,8 +2414,8 @@ class Image
2388
2414
# @option opts [Boolean] :no_rotate Don't use orientation tags to rotate image upright
2389
2415
# @option opts [Vips::Interesting] :crop Reduce to fill target rectangle, then crop
2390
2416
# @option opts [Boolean] :linear Reduce in linear light
2391
- # @option opts [String] :import_profile Fallback import profile
2392
- # @option opts [String] :export_profile Fallback export profile
2417
+ # @option opts [String] :input_profile Fallback input profile
2418
+ # @option opts [String] :output_profile Fallback output profile
2393
2419
# @option opts [Vips::Intent] :intent Rendering intent
2394
2420
# @option opts [Vips::FailOn] :fail_on Error level to fail on
2395
2421
# @return [Vips::Image] Output image
@@ -2405,8 +2431,8 @@ class Image
2405
2431
# @option opts [Boolean] :no_rotate Don't use orientation tags to rotate image upright
2406
2432
# @option opts [Vips::Interesting] :crop Reduce to fill target rectangle, then crop
2407
2433
# @option opts [Boolean] :linear Reduce in linear light
2408
- # @option opts [String] :import_profile Fallback import profile
2409
- # @option opts [String] :export_profile Fallback export profile
2434
+ # @option opts [String] :input_profile Fallback input profile
2435
+ # @option opts [String] :output_profile Fallback output profile
2410
2436
# @option opts [Vips::Intent] :intent Rendering intent
2411
2437
# @option opts [Vips::FailOn] :fail_on Error level to fail on
2412
2438
# @return [Vips::Image] Output image
@@ -2420,8 +2446,8 @@ class Image
2420
2446
# @option opts [Boolean] :no_rotate Don't use orientation tags to rotate image upright
2421
2447
# @option opts [Vips::Interesting] :crop Reduce to fill target rectangle, then crop
2422
2448
# @option opts [Boolean] :linear Reduce in linear light
2423
- # @option opts [String] :import_profile Fallback import profile
2424
- # @option opts [String] :export_profile Fallback export profile
2449
+ # @option opts [String] :input_profile Fallback input profile
2450
+ # @option opts [String] :output_profile Fallback output profile
2425
2451
# @option opts [Vips::Intent] :intent Rendering intent
2426
2452
# @option opts [Vips::FailOn] :fail_on Error level to fail on
2427
2453
# @return [Vips::Image] Output image
@@ -2437,8 +2463,8 @@ class Image
2437
2463
# @option opts [Boolean] :no_rotate Don't use orientation tags to rotate image upright
2438
2464
# @option opts [Vips::Interesting] :crop Reduce to fill target rectangle, then crop
2439
2465
# @option opts [Boolean] :linear Reduce in linear light
2440
- # @option opts [String] :import_profile Fallback import profile
2441
- # @option opts [String] :export_profile Fallback export profile
2466
+ # @option opts [String] :input_profile Fallback input profile
2467
+ # @option opts [String] :output_profile Fallback output profile
2442
2468
# @option opts [Vips::Intent] :intent Rendering intent
2443
2469
# @option opts [Vips::FailOn] :fail_on Error level to fail on
2444
2470
# @return [Vips::Image] Output image
@@ -2605,6 +2631,16 @@ class Image
2605
2631
# @param opts [Hash] Set of options
2606
2632
# @return [Vips::Image] Output image
2607
2633
2634
+ # @!method scRGB2XYZ(**opts)
2635
+ # Transform scrgb to xyz.
2636
+ # @param opts [Hash] Set of options
2637
+ # @return [Vips::Image] Output image
2638
+
2639
+ # @!method XYZ2scRGB(**opts)
2640
+ # Transform xyz to scrgb.
2641
+ # @param opts [Hash] Set of options
2642
+ # @return [Vips::Image] Output image
2643
+
2608
2644
# @!method LabQ2Lab(**opts)
2609
2645
# Unpack a labq image to float lab.
2610
2646
# @param opts [Hash] Set of options
@@ -2650,6 +2686,17 @@ class Image
2650
2686
# @param opts [Hash] Set of options
2651
2687
# @return [Vips::Image] Output image
2652
2688
2689
+ # @!method sRGB2scRGB(**opts)
2690
+ # Convert an srgb image to scrgb.
2691
+ # @param opts [Hash] Set of options
2692
+ # @return [Vips::Image] Output image
2693
+
2694
+ # @!method scRGB2BW(**opts)
2695
+ # Convert scrgb to bw.
2696
+ # @param opts [Hash] Set of options
2697
+ # @option opts [Integer] :depth Output device space depth in bits
2698
+ # @return [Vips::Image] Output image
2699
+
2653
2700
# @!method sRGB2HSV(**opts)
2654
2701
# Transform srgb to hsv.
2655
2702
# @param opts [Hash] Set of options
@@ -2660,6 +2707,12 @@ class Image
2660
2707
# @param opts [Hash] Set of options
2661
2708
# @return [Vips::Image] Output image
2662
2709
2710
+ # @!method scRGB2sRGB(**opts)
2711
+ # Convert scrgb to srgb.
2712
+ # @param opts [Hash] Set of options
2713
+ # @option opts [Integer] :depth Output device space depth in bits
2714
+ # @return [Vips::Image] Output image
2715
+
2663
2716
# @!method icc_import(**opts)
2664
2717
# Import from device with icc profile.
2665
2718
# @param opts [Hash] Set of options
@@ -2710,33 +2763,6 @@ class Image
2710
2763
# @param opts [Hash] Set of options
2711
2764
# @return [Vips::Image] Output image
2712
2765
2713
- # @!method sRGB2scRGB(**opts)
2714
- # Convert an srgb image to scrgb.
2715
- # @param opts [Hash] Set of options
2716
- # @return [Vips::Image] Output image
2717
-
2718
- # @!method scRGB2XYZ(**opts)
2719
- # Transform scrgb to xyz.
2720
- # @param opts [Hash] Set of options
2721
- # @return [Vips::Image] Output image
2722
-
2723
- # @!method scRGB2BW(**opts)
2724
- # Convert scrgb to bw.
2725
- # @param opts [Hash] Set of options
2726
- # @option opts [Integer] :depth Output device space depth in bits
2727
- # @return [Vips::Image] Output image
2728
-
2729
- # @!method XYZ2scRGB(**opts)
2730
- # Transform xyz to scrgb.
2731
- # @param opts [Hash] Set of options
2732
- # @return [Vips::Image] Output image
2733
-
2734
- # @!method scRGB2sRGB(**opts)
2735
- # Convert an scrgb image to srgb.
2736
- # @param opts [Hash] Set of options
2737
- # @option opts [Integer] :depth Output device space depth in bits
2738
- # @return [Vips::Image] Output image
2739
-
2740
2766
# @!method CMYK2XYZ(**opts)
2741
2767
# Transform cmyk to xyz.
2742
2768
# @param opts [Hash] Set of options
@@ -3123,7 +3149,13 @@ class Image
3123
3149
# @return [Vips::Image] Output image
3124
3150
3125
3151
# @!method matrixinvert(**opts)
3126
- # Invert an matrix.
3152
+ # Invert a matrix.
3153
+ # @param opts [Hash] Set of options
3154
+ # @return [Vips::Image] Output matrix
3155
+
3156
+ # @!method matrixmultiply(right, **opts)
3157
+ # Multiply two matrices.
3158
+ # @param right [Vips::Image] Second matrix to multiply
3127
3159
# @param opts [Hash] Set of options
3128
3160
# @return [Vips::Image] Output matrix
3129
3161
@@ -3150,6 +3182,13 @@ class Image
3150
3182
# @param opts [Hash] Set of options
3151
3183
# @option opts [Float] :gamma Image gamma
3152
3184
# @option opts [Boolean] :int_output Integer output
3185
+ # @return [Vips::Image] Output image
3186
+
3187
+ # @!method remosaic(old_str, new_str, **opts)
3188
+ # Rebuild an mosaiced image.
3189
+ # @param old_str [String] Search for this string
3190
+ # @param new_str [String] And swap for this string
3191
+ # @param opts [Hash] Set of options
3153
3192
# @return [Vips::Image] Output image
3154
3193
3155
3194
end
0 commit comments