Commit Graph

462 Commits

Author SHA1 Message Date
Andrew Murray
8f4dbfe6a6 Simplified code 2024-07-24 06:56:59 +10:00
Andrew Murray
888b2f716e Improved consistency of example paths 2024-07-24 06:56:42 +10:00
Andrew Murray
cf6ec5e065 Converted images to WebP 2024-07-24 06:44:06 +10:00
Jeffrey A. Clark (Alex)
96fa1f5dbf multiply each pixel by 20 2024-07-23 14:55:04 -04:00
Jeffrey A. Clark (Alex)
ddc02bb78c Update and add image to PostScript printing example 2024-07-20 14:41:47 -04:00
Jeffrey A. Clark
eff22bc34e
Update docs/handbook/tutorial.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-19 09:00:26 -04:00
Andrew Murray
4db8140426 Removed unused image 2024-07-19 18:49:04 +10:00
Andrew Murray
54055c76c4 Converted images to WebP 2024-07-19 18:45:00 +10:00
Andrew Murray
1daaef02cd Updated code to match image 2024-07-19 18:27:00 +10:00
Andrew Murray
c337dfe98a Correct reference 2024-07-19 14:41:51 +10:00
Jeffrey A. Clark (Alex)
96a1af9fa8 Add tutorial images
Animated gif example
2024-07-18 18:33:14 -04:00
Jeffrey A. Clark (Alex)
18d8020cab Add tutorial images 2024-07-18 15:17:32 -04:00
Hugo van Kemenade
29fa677276
Merge pull request #7963 from radarhere/example 2024-06-25 05:28:29 -06:00
Andrew Murray
45cdc53bbb Updated type hints 2024-06-08 18:03:06 +10:00
Andrew Murray
d431c97ba3 Deprecate BGR;15, BGR;16 and BGR;24 2024-04-15 19:28:52 +10:00
Andrew Murray
34b3cb519c Converted example images to WebP 2024-04-10 23:37:38 +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
Nulano
586e774094 add PFM support to release notes 2024-01-08 17:35:01 +01:00
Nulano
0d841aab9a add support for grayscale pfm image format 2024-01-06 14:08:51 +01:00
Nulano
de62b25ed3 fix image url in "Reading from URL" example 2024-01-01 18:06:46 +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
Andrew Murray
c855584dac Corrected "optimize" default when saving GIF images 2023-11-25 17:30:09 +11:00
Benjamin Gilbert
e572722479 Allow configuring JPEG restart marker interval on save
libjpeg allows specifying the marker interval either in MCU blocks or in
MCU rows.  Support both, via separate parameters, rather than requiring
callers to do the math.

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2023-10-31 17:47:25 -05:00
Hugo van Kemenade
ac6eb84704 Add 'pypi' Sphinx role 2023-10-30 08:56:42 +02:00
Andrew Murray
84e148e944 Document that olefile is required for FPX and MIC formats 2023-10-30 09:02:42 +11:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
76049de4ad Fixed typos in tutorial 2023-10-15 22:39:35 +02:00
Andrew Murray
a1ddb4dd27 Describe how to populate mode and size 2023-10-15 16:17:19 +11:00
Hugo van Kemenade
810f5f06c4
Merge branch 'main' into cover 2023-10-13 23:42:06 +02:00
Hugo van Kemenade
0a432541ae
Merge pull request #7392 from radarhere/eps 2023-10-05 09:27:06 -06:00
Andrew Murray
114aadd2ca Added versionadded 2023-10-01 06:13:40 +11:00
Andrew Murray
3caae280b9 Added release notes 2023-09-30 11:32:54 +10:00
Andrew Murray
1c5eab718f Include given size in table 2023-09-29 18:29:45 +10:00
Andrew Murray
40d11fa9ac Added demonstration images to tutorial 2023-09-28 08:27:56 +10:00
Andrew Murray
ffe2076fd6 Shortened property description 2023-09-13 08:03:23 +10:00
Andrew Murray
3ee8009561 Document gs_binary property 2023-09-12 22:22:42 +10:00