Commit Graph

309 Commits

Author SHA1 Message Date
Andrew Murray
ad42bb3f91
Merge branch 'main' into jpeg-app-segments 2025-10-21 18:18:09 +11:00
Kylian Ronfleux--Corail
be2b4e7864
Fix qtables and quality scaling (#8879)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 20:46:40 +10:00
Hugo van Kemenade
3d21c16977
Improve reading XPM images (#8874) 2025-06-27 17:53:34 +03:00
thisismypassport
ef0bab0c65
Support writing QOI images (#9007)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-19 18:16:26 +10:00
Hugo van Kemenade
348589a367
Docs: use sentence case for headers (#8914)
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-04-21 19:03:31 +10:00
Jeffrey A. Clark
8b1777b999 Move XV Thumbnails to read only section 2025-04-14 14:51:01 -04:00
Hugo van Kemenade
7a0092f207 Remove incomplete 11.2.0 release, bill as 11.2.1 instead 2025-04-12 18:56:38 +03:00
Andrew Murray
395bd6bd12 Allow more than 256 colours 2025-04-10 18:57:58 +10:00
Frankie Dintino
7d50816f0a
Add AVIF plugin (decoder + encoder using libavif) (#5201)
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-01 07:13:21 +03:00
Andrew Murray
10ccbd7788
If append_images is populated, default save_all to True (#8781)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-27 18:01:09 +02:00
Andrew Murray
700d36f2d2 Added release notes for #8807 2025-03-20 00:11:18 +11:00
Andrew Murray
ae5ec03993
Merge branch 'main' into jpeg-app-segments 2025-03-18 23:26:03 +11:00
Andrew Murray
7b725a8fc4 DXT3 images are read in RGBA mode 2025-03-15 13:04:26 +11:00
Hugo van Kemenade
00593ff3f8
Merge pull request #8780 from radarhere/save_all
Allow encoderconfig and encoderinfo to be set for appended TIFF images
2025-03-05 18:04:28 +02:00
Andrew Murray
7df5cfea7c
Merge branch 'main' into jpeg-app-segments 2025-03-04 08:51:08 +11:00
Andrew Murray
c60682af67 JPEG comments are from the COM marker 2025-03-02 22:34:58 +11:00
Andrew Murray
5c93145061 Allow encoderconfig and encoderinfo to be set for appended TIFF images 2025-02-28 22:16:52 +11:00
Andrew Murray
1de617fbe7 Added release notes 2024-12-31 11:13:14 +11:00
Andrew Murray
8bdcadcbe9 Renamed argument to big_tiff 2024-12-31 10:16:00 +11:00
Andrew Murray
2ac383028a Allow saving as BigTIFF 2024-12-31 01:26:13 +11:00
Andrew Murray
9bebecf36d Use versionadded 2024-12-28 22:18:02 +11:00
Andrew Murray
0220b025c5 Updated documentation for #7947 and #8592 2024-12-28 12:33:59 +11:00
Andrew Murray
e1f4b5a68f Move MPO into "Fully supported formats" 2024-10-26 15:10:41 +11:00
Andrew Murray
a6f5f4dd43 Deprecate setting size to (width, height, scale) 2024-09-06 11:42:56 +10:00
Andrew Murray
e625f73119 Added scale argument to IcnsImageFile load() 2024-09-06 11:40:45 +10:00
Andrew Murray
d4c72da6b2 Added type hints to example code 2024-08-15 14:10:31 +10:00
Aleksandr Karpinskii
6180abc75c Remove WebP versions notes from docs 2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
a3468996c0 Remove webp animations flags and conditions
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Aleksandr Karpinskii
c1e8375af8 Require webpmux and webpdemux 2024-08-13 09:24:52 +04:00
Andrew Murray
604c1cf8fd
Merge branch 'main' into jpeg-app-segments 2024-07-26 22:22:39 +10:00
Andrew Murray
059b8e9171 Updated line formatting 2024-04-05 06:52:36 +11:00
Andrew Murray
0702f704fa
Remove commas
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-04-05 05:16:41 +11:00
Andrew Murray
2a2588d5df
Use extlink
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-05 05:09:11 +11:00
Andrew Murray
0cc5de4e09 Link to https://pypi.org/project/qoi 2024-04-04 12:17:02 +11:00
Andrew Murray
8c57cd56a5 QoiImagePlugin uses PyDecoder 2024-04-03 12:00:02 +11:00
Hugo van Kemenade
6464d5cf91
Merge pull request #7894 from radarhere/fits_gzip 2024-03-28 18:09:55 +02:00
Andrew Murray
142473c7b4 Support GZIP_1 compression 2024-03-26 21:29:28 +11:00
Andrew Murray
fb84c546b7 Removed references to the "current version" 2024-03-26 06:00:03 +11:00
Andrew Murray
64c8c27271 Added alpha_quality argument when saving 2024-03-13 18:55:29 +11:00
Andrew Murray
67c6811e2f
Merge branch 'main' into jpeg-app-segments 2024-01-09 14:56:44 +11:00
Nulano
586e774094 add PFM support to release notes 2024-01-08 17:35:01 +01:00
Benjamin Gilbert
8053d5e5a0 Allow disabling default emission of JPEG APP0 and APP14 segments
When embedding JPEGs into a container file format, it may be desirable
to minimize JPEG metadata, since the container will include the pertinent
details.  By default, libjpeg emits a JFIF APP0 segment for JFIF-
compatible colorspaces (grayscale or YCbCr) and Adobe APP14 otherwise.
Add a no_default_app_segments option to disable these.

660894cd36 added code to force emission of the JFIF segment if the DPI is
specified, even for JFIF-incompatible colorspaces.  This seems
inconsistent with the JFIF spec, but apparently other software does it
too.  no_default_app_segments does not disable this behavior, since it
only happens when the application explicitly specifies the DPI.
2024-01-08 05:33:12 -06:00
Nulano
0d841aab9a add support for grayscale pfm image format 2024-01-06 14:08:51 +01:00
Andrew Murray
d93a5ad70b
Merge pull request #7553 from bgilbert/jpeg-rgb
Add `keep_rgb` option when saving JPEG to prevent conversion of RGB colorspace
2024-01-01 23:55:37 +11:00
Benjamin Gilbert
a72b5963d7 Document JPEG 2000 support for writing YCbCr and reading subsampled color
Read support for subsampled RGB and YCbCr color channels was added in
4f4c3b34f8 and not documented at the time.  Write support for YCbCr
appears to date to 61fb89ec54, the original commit.

Retain the existing language about YCbCr input conversion to RGB, even
though it's not completely correct.  OpenJPEG through 2.5.0 doesn't set
color_space in opj_read_header(), so we end up in our
OPJ_CLRSPC_UNSPECIFIED fallback path, which guesses sRGB if there's no
component subsampling.  This means we currently can't round-trip YCbCr via
JPEG 2000.  The next OpenJPEG release will fix this, so leave the docs as
is.

Also fix typo: .j2p -> .jp2.
2023-12-26 12:52:27 -06:00
Benjamin Gilbert
a5fab5fc0b Fail if chroma subsampling selected when writing RGB JPEG
The user presumably doesn't intend to subsample the green and blue
channels.
2023-12-26 12:37:35 -06:00
Hugo van Kemenade
18907b5f7e
Merge pull request #7568 from radarhere/gif_transparency 2023-12-21 12:58:07 +02:00
Benjamin Gilbert
4b422db243 Add keep_rgb option to prevent RGB -> YCbCr conversion during JPEG write
libjpeg automatically converts RGB to YCbCr by default.  Add a keep_rgb
option to disable libjpeg's automatic conversion of RGB images during
write.
2023-12-13 18:26:35 -06:00
Benjamin Gilbert
dafaa1c512 Document JPEG streamtype option
streamtype=1 is new in 10.2.0; the other values have existed since Git
pre-history.
2023-12-04 06:58:37 -06:00
Andrew Murray
55c5587437 Fill identical pixels with transparency in subsequent frames 2023-11-25 19:16:32 +11:00