Skip to content

Commit b41f707

Browse files
committed
Regenerate and update date
1 parent c291653 commit b41f707

File tree

3 files changed

+72
-25
lines changed

3 files changed

+72
-25
lines changed

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 3.0.0 (released 22 April 2025)
1+
## Version 3.0.0 (released 26 April 2025)
22

33
- drop support for Python 2.7, require Python >= 3.7 [kleisauke]
44
- migrate to `pyproject.toml` [kleisauke]

doc/vimage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5369,7 +5369,7 @@ Autogenerated methods
53695369

53705370
.. method:: scRGB2sRGB(depth=int)
53715371

5372-
Convert an scRGB image to sRGB.
5372+
Convert scRGB to sRGB.
53735373

53745374
Example:
53755375
out = in.scRGB2sRGB(depth=int)

pyvips/enums.py

+70-23
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,63 @@ class FailOn(object):
893893
WARNING = 'warning'
894894

895895

896+
class ForeignPpmFormat(object):
897+
"""ForeignPpmFormat.
898+
899+
The netpbm file format to save as.
900+
901+
#VIPS_FOREIGN_PPM_FORMAT_PBM images are single bit.
902+
903+
#VIPS_FOREIGN_PPM_FORMAT_PGM images are 8, 16, or 32-bits, one band.
904+
905+
#VIPS_FOREIGN_PPM_FORMAT_PPM images are 8, 16, or 32-bits, three bands.
906+
907+
#VIPS_FOREIGN_PPM_FORMAT_PFM images are 32-bit float pixels.
908+
909+
#VIPS_FOREIGN_PPM_FORMAT_PNM images are anymap images -- the image format
910+
is used to pick the saver.
911+
912+
Attributes:
913+
914+
PBM (str): portable bitmap
915+
916+
PGM (str): portable greymap
917+
918+
PPM (str): portable pixmap
919+
920+
PFM (str): portable float map
921+
922+
PNM (str): portable anymap
923+
924+
"""
925+
926+
PBM = 'pbm'
927+
PGM = 'pgm'
928+
PPM = 'ppm'
929+
PFM = 'pfm'
930+
PNM = 'pnm'
931+
932+
933+
class ForeignSubsample(object):
934+
"""ForeignSubsample.
935+
936+
Set subsampling mode.
937+
938+
Attributes:
939+
940+
AUTO (str): prevent subsampling when quality >= 90
941+
942+
ON (str): always perform subsampling
943+
944+
OFF (str): never perform subsampling
945+
946+
"""
947+
948+
AUTO = 'auto'
949+
ON = 'on'
950+
OFF = 'off'
951+
952+
896953
class ForeignDzLayout(object):
897954
"""ForeignDzLayout.
898955
@@ -988,26 +1045,6 @@ class RegionShrink(object):
9881045
NEAREST = 'nearest'
9891046

9901047

991-
class ForeignSubsample(object):
992-
"""ForeignSubsample.
993-
994-
Set subsampling mode.
995-
996-
Attributes:
997-
998-
AUTO (str): prevent subsampling when quality >= 90
999-
1000-
ON (str): always perform subsampling
1001-
1002-
OFF (str): never perform subsampling
1003-
1004-
"""
1005-
1006-
AUTO = 'auto'
1007-
ON = 'on'
1008-
OFF = 'off'
1009-
1010-
10111048
class ForeignWebpPreset(object):
10121049
"""ForeignWebpPreset.
10131050
@@ -1217,12 +1254,15 @@ class Intent(object):
12171254
12181255
ABSOLUTE (str): absolute colorimetric rendering intent
12191256
1257+
AUTO (str): the rendering intent that the profile suggests
1258+
12201259
"""
12211260

12221261
PERCEPTUAL = 'perceptual'
12231262
RELATIVE = 'relative'
12241263
SATURATION = 'saturation'
12251264
ABSOLUTE = 'absolute'
1265+
AUTO = 'auto'
12261266

12271267

12281268
class Kernel(object):
@@ -1244,6 +1284,10 @@ class Kernel(object):
12441284
12451285
LANCZOS3 (str): Convolve with a three-lobe Lanczos kernel.
12461286
1287+
MKS2013 (str): Convolve with Magic Kernel Sharp 2013.
1288+
1289+
MKS2021 (str): Convolve with Magic Kernel Sharp 2021.
1290+
12471291
"""
12481292

12491293
NEAREST = 'nearest'
@@ -1252,6 +1296,8 @@ class Kernel(object):
12521296
MITCHELL = 'mitchell'
12531297
LANCZOS2 = 'lanczos2'
12541298
LANCZOS3 = 'lanczos3'
1299+
MKS2013 = 'mks2013'
1300+
MKS2021 = 'mks2021'
12551301

12561302

12571303
class PCS(object):
@@ -1295,12 +1341,13 @@ class OperationMorphology(object):
12951341
class CombineMode(object):
12961342
"""CombineMode.
12971343
1298-
See vips_draw_image() and so on.
1344+
See :meth:`.Image.draw_image` and so on.
12991345
1300-
Operations like vips_draw_image() need to be told how to combine images
1346+
Operations like :meth:`.Image.draw_image` need to be told how to combine images
13011347
from two sources.
13021348
1303-
See also: vips_join().
1349+
::: seealso
1350+
:meth:`.Image.join`.
13041351
13051352
Attributes:
13061353

0 commit comments

Comments
 (0)