@@ -308,6 +308,7 @@ Autogenerated methods
308
308
~pngsave_buffer
309
309
~pngsave_target
310
310
~ppmload
311
+ ~ppmload_buffer
311
312
~ppmload_source
312
313
~ppmsave
313
314
~ppmsave_target
@@ -337,6 +338,7 @@ Autogenerated methods
337
338
~relational_const
338
339
~remainder
339
340
~remainder_const
341
+ ~remosaic
340
342
~replicate
341
343
~resize
342
344
~rot
@@ -4735,9 +4737,31 @@ Autogenerated methods
4735
4737
:rtype: Image or list[Image, Dict[str, mixed]]
4736
4738
:raises Error:
4737
4739
4740
+ .. staticmethod :: ppmload_buffer(buffer, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
4741
+
4742
+ Load ppm from buffer.
4743
+
4744
+ Example:
4745
+ out = pyvips.Image.ppmload_buffer(buffer, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
4746
+
4747
+ :param buffer: Buffer to load from
4748
+ :type buffer: str
4749
+ :param memory: Force open via memory
4750
+ :type memory: bool
4751
+ :param access: Required access pattern for this file
4752
+ :type access: Union[str, Access]
4753
+ :param fail_on: Error level to fail on
4754
+ :type fail_on: Union[str, FailOn]
4755
+ :param revalidate: Don't use a cached result for this operation
4756
+ :type revalidate: bool
4757
+ :param flags: enable output: Flags for this file
4758
+ :type flags: bool
4759
+ :rtype: Image or list[Image, Dict[str, mixed]]
4760
+ :raises Error:
4761
+
4738
4762
.. staticmethod :: ppmload_source(source, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
4739
4763
4740
- Load ppm base class .
4764
+ Load ppm from source .
4741
4765
4742
4766
Example:
4743
4767
out = pyvips.Image.ppmload_source(source, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
@@ -5233,6 +5257,20 @@ Autogenerated methods
5233
5257
:rtype: Image
5234
5258
:raises Error:
5235
5259
5260
+ .. method :: remosaic(old_str, new_str)
5261
+
5262
+ Rebuild an mosaiced image.
5263
+
5264
+ Example:
5265
+ out = in.remosaic(old_str, new_str)
5266
+
5267
+ :param old_str: Search for this string
5268
+ :type old_str: str
5269
+ :param new_str: And swap for this string
5270
+ :type new_str: str
5271
+ :rtype: Image
5272
+ :raises Error:
5273
+
5236
5274
.. method :: replicate(across, down)
5237
5275
5238
5276
Replicate an image.
@@ -5673,12 +5711,12 @@ Autogenerated methods
5673
5711
:rtype: Image
5674
5712
:raises Error:
5675
5713
5676
- .. staticmethod :: svgload(filename, dpi=float, scale=float, unlimited=bool, stylesheet=str, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
5714
+ .. staticmethod :: svgload(filename, dpi=float, scale=float, unlimited=bool, stylesheet=str, high_bitdepth=bool, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
5677
5715
5678
5716
Load SVG with rsvg.
5679
5717
5680
5718
Example:
5681
- out = pyvips.Image.svgload(filename, dpi=float, scale=float, unlimited=bool, stylesheet=str, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
5719
+ out = pyvips.Image.svgload(filename, dpi=float, scale=float, unlimited=bool, stylesheet=str, high_bitdepth=bool, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
5682
5720
5683
5721
:param filename: Filename to load from
5684
5722
:type filename: str
@@ -5690,6 +5728,8 @@ Autogenerated methods
5690
5728
:type unlimited: bool
5691
5729
:param stylesheet: Custom CSS
5692
5730
:type stylesheet: str
5731
+ :param high_bitdepth: Enable scRGB 128-bit output (32-bit per channel)
5732
+ :type high_bitdepth: bool
5693
5733
:param memory: Force open via memory
5694
5734
:type memory: bool
5695
5735
:param access: Required access pattern for this file
@@ -5703,12 +5743,12 @@ Autogenerated methods
5703
5743
:rtype: Image or list[Image, Dict[str, mixed]]
5704
5744
:raises Error:
5705
5745
5706
- .. staticmethod :: svgload_buffer(buffer, dpi=float, scale=float, unlimited=bool, stylesheet=str, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
5746
+ .. staticmethod :: svgload_buffer(buffer, dpi=float, scale=float, unlimited=bool, stylesheet=str, high_bitdepth=bool, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
5707
5747
5708
5748
Load SVG with rsvg.
5709
5749
5710
5750
Example:
5711
- out = pyvips.Image.svgload_buffer(buffer, dpi=float, scale=float, unlimited=bool, stylesheet=str, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
5751
+ out = pyvips.Image.svgload_buffer(buffer, dpi=float, scale=float, unlimited=bool, stylesheet=str, high_bitdepth=bool, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
5712
5752
5713
5753
:param buffer: Buffer to load from
5714
5754
:type buffer: str
@@ -5720,6 +5760,8 @@ Autogenerated methods
5720
5760
:type unlimited: bool
5721
5761
:param stylesheet: Custom CSS
5722
5762
:type stylesheet: str
5763
+ :param high_bitdepth: Enable scRGB 128-bit output (32-bit per channel)
5764
+ :type high_bitdepth: bool
5723
5765
:param memory: Force open via memory
5724
5766
:type memory: bool
5725
5767
:param access: Required access pattern for this file
@@ -5733,12 +5775,12 @@ Autogenerated methods
5733
5775
:rtype: Image or list[Image, Dict[str, mixed]]
5734
5776
:raises Error:
5735
5777
5736
- .. staticmethod :: svgload_source(source, dpi=float, scale=float, unlimited=bool, stylesheet=str, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
5778
+ .. staticmethod :: svgload_source(source, dpi=float, scale=float, unlimited=bool, stylesheet=str, high_bitdepth=bool, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool, flags=bool)
5737
5779
5738
5780
Load svg from source.
5739
5781
5740
5782
Example:
5741
- out = pyvips.Image.svgload_source(source, dpi=float, scale=float, unlimited=bool, stylesheet=str, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
5783
+ out = pyvips.Image.svgload_source(source, dpi=float, scale=float, unlimited=bool, stylesheet=str, high_bitdepth=bool, memory=bool, access=Union[str, Access], fail_on=Union[str, FailOn], revalidate=bool)
5742
5784
5743
5785
:param source: Source to load from
5744
5786
:type source: Source
@@ -5750,6 +5792,8 @@ Autogenerated methods
5750
5792
:type unlimited: bool
5751
5793
:param stylesheet: Custom CSS
5752
5794
:type stylesheet: str
5795
+ :param high_bitdepth: Enable scRGB 128-bit output (32-bit per channel)
5796
+ :type high_bitdepth: bool
5753
5797
:param memory: Force open via memory
5754
5798
:type memory: bool
5755
5799
:param access: Required access pattern for this file
@@ -5831,12 +5875,12 @@ Autogenerated methods
5831
5875
:rtype: Image or list[Image, Dict[str, mixed]]
5832
5876
:raises Error:
5833
5877
5834
- .. staticmethod :: thumbnail(filename, width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5878
+ .. staticmethod :: thumbnail(filename, width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5835
5879
5836
5880
Generate thumbnail from file.
5837
5881
5838
5882
Example:
5839
- out = pyvips.Image.thumbnail(filename, width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5883
+ out = pyvips.Image.thumbnail(filename, width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5840
5884
5841
5885
:param filename: Filename to read from
5842
5886
:type filename: str
@@ -5852,23 +5896,23 @@ Autogenerated methods
5852
5896
:type crop: Union[str, Interesting]
5853
5897
:param linear: Reduce in linear light
5854
5898
:type linear: bool
5855
- :param import_profile : Fallback import profile
5856
- :type import_profile : str
5857
- :param export_profile : Fallback export profile
5858
- :type export_profile : str
5899
+ :param input_profile : Fallback input profile
5900
+ :type input_profile : str
5901
+ :param output_profile : Fallback output profile
5902
+ :type output_profile : str
5859
5903
:param intent: Rendering intent
5860
5904
:type intent: Union[str, Intent]
5861
5905
:param fail_on: Error level to fail on
5862
5906
:type fail_on: Union[str, FailOn]
5863
5907
:rtype: Image
5864
5908
:raises Error:
5865
5909
5866
- .. staticmethod :: thumbnail_buffer(buffer, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5910
+ .. staticmethod :: thumbnail_buffer(buffer, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5867
5911
5868
5912
Generate thumbnail from buffer.
5869
5913
5870
5914
Example:
5871
- out = pyvips.Image.thumbnail_buffer(buffer, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5915
+ out = pyvips.Image.thumbnail_buffer(buffer, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5872
5916
5873
5917
:param buffer: Buffer to load from
5874
5918
:type buffer: str
@@ -5886,23 +5930,23 @@ Autogenerated methods
5886
5930
:type crop: Union[str, Interesting]
5887
5931
:param linear: Reduce in linear light
5888
5932
:type linear: bool
5889
- :param import_profile : Fallback import profile
5890
- :type import_profile : str
5891
- :param export_profile : Fallback export profile
5892
- :type export_profile : str
5933
+ :param input_profile : Fallback input profile
5934
+ :type input_profile : str
5935
+ :param output_profile : Fallback output profile
5936
+ :type output_profile : str
5893
5937
:param intent: Rendering intent
5894
5938
:type intent: Union[str, Intent]
5895
5939
:param fail_on: Error level to fail on
5896
5940
:type fail_on: Union[str, FailOn]
5897
5941
:rtype: Image
5898
5942
:raises Error:
5899
5943
5900
- .. method :: thumbnail_image(width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5944
+ .. method :: thumbnail_image(width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5901
5945
5902
5946
Generate thumbnail from image.
5903
5947
5904
5948
Example:
5905
- out = in.thumbnail_image(width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5949
+ out = in.thumbnail_image(width, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5906
5950
5907
5951
:param width: Size to this width
5908
5952
:type width: int
@@ -5916,23 +5960,23 @@ Autogenerated methods
5916
5960
:type crop: Union[str, Interesting]
5917
5961
:param linear: Reduce in linear light
5918
5962
:type linear: bool
5919
- :param import_profile : Fallback import profile
5920
- :type import_profile : str
5921
- :param export_profile : Fallback export profile
5922
- :type export_profile : str
5963
+ :param input_profile : Fallback input profile
5964
+ :type input_profile : str
5965
+ :param output_profile : Fallback output profile
5966
+ :type output_profile : str
5923
5967
:param intent: Rendering intent
5924
5968
:type intent: Union[str, Intent]
5925
5969
:param fail_on: Error level to fail on
5926
5970
:type fail_on: Union[str, FailOn]
5927
5971
:rtype: Image
5928
5972
:raises Error:
5929
5973
5930
- .. staticmethod :: thumbnail_source(source, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5974
+ .. staticmethod :: thumbnail_source(source, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5931
5975
5932
5976
Generate thumbnail from source.
5933
5977
5934
5978
Example:
5935
- out = pyvips.Image.thumbnail_source(source, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, import_profile =str, export_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5979
+ out = pyvips.Image.thumbnail_source(source, width, option_string=str, height=int, size=Union[str, Size], no_rotate=bool, crop=Union[str, Interesting], linear=bool, input_profile =str, output_profile =str, intent=Union[str, Intent], fail_on=Union[str, FailOn])
5936
5980
5937
5981
:param source: Source to load from
5938
5982
:type source: Source
@@ -5950,10 +5994,10 @@ Autogenerated methods
5950
5994
:type crop: Union[str, Interesting]
5951
5995
:param linear: Reduce in linear light
5952
5996
:type linear: bool
5953
- :param import_profile : Fallback import profile
5954
- :type import_profile : str
5955
- :param export_profile : Fallback export profile
5956
- :type export_profile : str
5997
+ :param input_profile : Fallback input profile
5998
+ :type input_profile : str
5999
+ :param output_profile : Fallback output profile
6000
+ :type output_profile : str
5957
6001
:param intent: Rendering intent
5958
6002
:type intent: Union[str, Intent]
5959
6003
:param fail_on: Error level to fail on
0 commit comments