Andrew Murray
b3af769c1a
Set alpha channel for OpenJPEG
2023-02-02 20:52:50 +11:00
Andrew Murray
173b65d095
Raise ValueError during filter operation as well
2023-01-11 20:02:10 +11:00
Andrew Murray
91b01f4cc2
Return from ImagingFill early if image has a zero dimension
2022-12-30 16:48:33 +11:00
Andrew Murray
4518dc82ba
Merge branch 'main' into signed
2022-12-29 09:37:35 +11:00
Hugo van Kemenade
88a81db1c4
Merge pull request #6708 from radarhere/rgba2rgb_
...
Resolves https://github.com/python-pillow/Pillow/issues/6706
2022-12-28 16:27:31 +02:00
Andrew Murray
318b658c9c
Initialize unsigned char variables
2022-12-22 17:16:52 +11:00
Sam Mason
eddc9bdcec
switch to #z for comment parameter
...
* means `comment=None` can be passed directly
* no need to conditionally run `str.encode()`
* clean up checking of whether a comment is passed
2022-12-05 17:46:54 +00:00
Andrew Murray
e50ae85ea4
Use jpeg_write_marker to write comment
2022-12-05 13:57:26 +11:00
Yay295
16994ccc9b
remove unused ImagingAccess->line() method def
2022-11-12 17:15:50 -06:00
Yay295
20f17cc6a7
remove unused ImagingAccess->line() method defs
2022-11-12 17:14:37 -06:00
Andrew Murray
6ddbe4cbf0
Added signed option when saving JPEG2000 images
2022-11-03 18:26:31 +11:00
Andrew Murray
5b4703d615
Added conversion from RGBa to RGB
2022-11-01 08:39:02 +11:00
Andrew Murray
93e5fd4b40
Initialize libtiff buffer
2022-10-29 12:02:03 +03:00
Christoph Gohlke
4ab80f663e
Remove backup implementation of Round for Windows platforms
2022-10-27 08:15:36 -07:00
Christoph Gohlke
d97db54be0
Only use ASCII characters in C source file
2022-10-26 11:17:28 -07:00
Hugo van Kemenade
9bbf56b368
Merge pull request #6418 from hmaarrfk/parallel_matrix_convert
2022-10-25 21:11:22 +03:00
Andrew Murray
28878c68e1
Merge pull request #6449 from ShadelessFox/main
...
Added DDS BC6 reading
2022-10-11 12:58:24 +11:00
Andrew Murray
78d258f24d
Removed gamma correction
2022-10-10 20:48:18 +11:00
Andrew Murray
eef4d1ced1
Moved mode check outside of loops
2022-10-09 08:48:07 +11:00
Andrew Murray
34f61d6d2d
Updated redirected URLs
2022-09-23 22:13:50 +10:00
Hugo van Kemenade
0b5c150805
Merge pull request #6497 from radarhere/convert
2022-08-31 17:09:38 +03:00
Andrew Murray
e613271776
Fixed typo
2022-08-27 18:48:47 +10:00
Andrew Murray
8a60db322f
Copy palette when converting from P to PA
2022-08-17 17:05:53 +10:00
Andrew Murray
b84816c02f
Added pa2p
2022-08-16 22:45:55 +10:00
ShadelessFox
952237d373
Minimize unnecessary code changes
2022-07-31 19:16:25 +03:00
ShadelessFox
3bec5999e0
Rename remaining occurrences of BC6S -> BC6HS
2022-07-23 15:20:35 +03:00
ShadelessFox
18a3c249b6
Fix BC6H_SF decoder
2022-07-18 22:24:40 +03:00
REDxEYE
b7715d1600
Fix BC6H_SF decoding error.
...
Decoding error were caused by additional sign extend call after endpoint
transform, according to khronos documentation, you only suppose to sign
extend endpoints only once, further calls to sign extend mangles
endpoint data.
2022-07-18 22:24:40 +03:00
ShadelessFox
f58c0ea533
Fix BC6 block decoder
2022-07-18 22:24:40 +03:00
Mark Harfouche
02e90e21f4
Release the GIL when applying matrix conversion to images
2022-07-05 15:13:39 -04:00
William Jacobs
9f9e26522e
Fixed bug with rounding pixels to palette
...
This fixes a bug with rounding pixels to the nearest palette color. Specifically, there is a typo with computing the minimum distance from a palette color to a given cache box. This is causing palette colors to be incorrectly excluded from consideration.
2022-06-18 04:09:41 -04:00
Hugo van Kemenade
f7ec22f518
Merge pull request #6197 from radarhere/endian
...
Fixed behaviour change from endian fix
2022-06-10 19:02:54 +03:00
Hugo van Kemenade
38931c1e47
Merge pull request #6278 from radarhere/polygon
...
Fixed drawing translucent 1px high polygons
2022-06-04 09:34:37 +03:00
Hugo van Kemenade
37c642338b
Merge pull request #6337 from RedShy/p2pa_images_conversion
...
Fix "P"->"PA" image conversion
2022-06-01 22:17:55 +03:00
Andrew Murray
40a918d274
Set readcount to TIFF_VARIABLE for a variable number of values
2022-05-28 20:14:05 +10:00
Andrew Murray
71d6a7b14f
Merge pull request #6303 from radarhere/disconnected
...
Only try to connect discontiguous corners at the end of edges
2022-05-28 16:40:00 +10:00
Davide Consalvo
6a071f81d7
fixed p2pa conversion
2022-05-27 12:24:19 +02:00
Hugo van Kemenade
ef8cec6185
Merge pull request #6256 from radarhere/furthestV
...
Ensure that furthest v is set in quantize2
2022-05-17 20:04:50 +03:00
Andrew Murray
f0353c5996
When reading past the end of a scan line, reduce bytes left
2022-05-17 11:53:24 +03:00
Andrew Murray
62c7ee0f00
Only try to connect discontiguous corners at the end of edges
2022-05-16 22:31:49 +10:00
Yulv-git
a0fa540b0b
Fix some typos.
2022-05-14 12:46:46 +08:00
Andrew Murray
c824ab048f
Fixed drawing translucent 1px high polygons
2022-05-06 22:35:26 +10:00
Andrew Murray
44494a1171
Set furthestV to first v in case compute_distances does not assign it
2022-05-01 23:32:47 +10:00
Andrew Murray
b299d7cfc2
Simplified code by using unsigned int instead of union
2022-05-01 23:32:47 +10:00
Andrew Murray
950d0ad1d3
Fixed behaviour change from #5901 endian fix
2022-04-12 23:12:54 +10:00
Andrew Murray
ba5f2d75b5
Merge pull request #6167 from gmarkall/unpack-bgra16
...
Add support for unpacking 16-bit BGRA
2022-04-04 07:49:45 +10:00
Andrew Murray
29c122fe5d
Updated BGRA comments
2022-04-02 22:00:49 +11:00
scaramallion
de26f78eb1
Add 'mct' and 'use_jp2' options for J2K saving
2022-03-31 22:13:17 +03:00
Graham Markall
e500dcfb97
Add support for unpacking 16-bit BGRA
2022-03-31 10:42:54 +01:00
Hugo van Kemenade
e60ca89721
Merge pull request #6150 from radarhere/gif
2022-03-30 23:23:59 +03:00