Hugo van Kemenade
87ecd01fc0
Merge pull request #6484 from radarhere/imagedraw_font
2022-08-15 08:08:53 +03:00
Hugo van Kemenade
ae14255c34
Merge pull request #6470 from radarhere/pdf_ccittfaxdecode
...
Save 1 mode PDF using CCITTFaxDecode filter
2022-08-07 19:11:37 +03:00
Andrew Murray
04d9761316
Changed "font" to class variable
2022-08-06 17:29:44 +10:00
Andrew Murray
e77a7b6b4f
Added support for RGBA PSD images
2022-08-05 23:29:58 +10:00
Andrew Murray
101f115853
Increased tolerance to allow for libtiff with libjpeg-turbo
2022-08-04 20:03:24 +10:00
Andrew Murray
2b14d83549
Added strip_size as TIFF encoder argument
2022-08-01 21:41:17 +10:00
Andrew Murray
f5b27f90f7
Save 1 mode PDF using CCITTFaxDecode filter
2022-08-01 20:38:47 +10:00
mergify[bot]
363586be6a
Merge pull request #6463 from bigcat88/xmp-tags-orientation
...
Parse orientation from XMP tag contents
2022-07-30 02:02:50 +00:00
mergify[bot]
87a08e2381
Merge pull request #6457 from REDxEYE/ATI1-2_support
...
Add support for ATI1/2(BC4/BC5) DDS files
2022-07-27 12:30:52 +00:00
Andrew Murray
bac83f7dd3
Check that orientation is still absent after reloading Exif
2022-07-27 22:27:43 +10:00
Andrew Murray
7e1261c6a0
Simplified test code
2022-07-27 22:18:39 +10:00
Alexander Piskun
db20d0f8fe
fixing typo in filetest name
2022-07-26 00:45:23 +03:00
Alexander Piskun
6e97da0260
fixing xmp tag orientation generated by exiftool
2022-07-26 00:30:32 +03:00
Hugo van Kemenade
cd261abbcb
Merge pull request #6455 from radarhere/gif_tile
2022-07-25 10:05:27 +03:00
REDxEYE
1050d13350
Replace test files with images with compatible license
2022-07-23 12:44:03 +03:00
pre-commit-ci[bot]
fd86414ac2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-07-22 22:02:58 +00:00
REDxEYE
2376399150
Add test and test files for ATI1 pixel format and fix image mode for ATI1
2022-07-23 01:02:06 +03:00
REDxEYE
ad2c6a20fe
Add support for ATI1/2(BC4/BC5) DDS files
...
This commit adds support for loading DDS with ATI1 and ATI2 fourcc pixel format
2022-07-23 00:30:27 +03:00
Andrew Murray
0844fb0ed3
Do not clear tile if not updating the image when seeking
2022-07-21 09:05:14 +10:00
Andrew Murray
2944ff18d6
Support saving multiple MPO frames
2022-07-16 20:02:58 +10:00
Andrew Murray
9f6a315092
Added ABGR MASK_MODE
2022-07-14 07:25:28 +10:00
Andrew Murray
40a0999303
Raise ValueError if PNG sRGB chunk is truncated
2022-07-11 20:02:41 +10:00
nulano
74e0b954f2
test {ImageFont,TransposedFont}.getsize() deprecation
2022-07-01 11:22:47 +02:00
Andrew Murray
0d91d13a6e
Merge branch 'main' into deprecate-getsize
2022-06-30 20:37:37 +10:00
Andrew Murray
c9f1b35e98
Added GIF decompression bomb check
2022-06-30 12:47:35 +10:00
Hugo van Kemenade
714ff4e397
Merge pull request #6386 from dawidcrivelli/handle_pcf_missing_characters
...
Handle PCF fonts files with less than 256 characters
2022-06-27 07:59:50 +03:00
Andrew Murray
93805d5257
Limit expected number of characters to nencoding
2022-06-27 14:05:13 +10:00
Andrew Murray
fc497ffe5e
Merge pull request #6378 from raygard/fix_get_optimize
...
Improved GIF optimize condition
2022-06-27 09:12:20 +10:00
Andrew Murray
e5046b1057
Reverted to __array_interface__ with the release of NumPy 1.23
2022-06-24 23:08:36 +10:00
Hugo van Kemenade
e774be01fe
Merge pull request #6391 from radarhere/pcx
...
Pad PCX palette to 768 bytes when saving
2022-06-23 09:50:22 +03:00
Hugo van Kemenade
6dd5b2e8c9
Merge pull request #6377 from btrekkie/fix-round-to-palette
...
Fixed bug with rounding pixels to palette
2022-06-22 12:31:25 +03:00
Andrew Murray
317286d260
Pad palette to 768 bytes
2022-06-22 17:27:49 +10:00
Andrew Murray
3e8a9b2165
Fixed loading L mode RLE8 images
2022-06-20 21:01:10 +10:00
nulano
a7baa31de8
use getbbox instead of getsize in fuzzers.py
2022-06-20 04:35:42 +01:00
nulano
93acbcf9e2
add getbbox and getlength to TransposedFont with tests
2022-06-20 02:37:42 +01:00
nulano
e2158344a0
update test_imagefont to use textbbox
2022-06-20 01:20:56 +01:00
Andrew Murray
a2eff2aff5
Added test
2022-06-20 09:18:05 +10:00
nulano
1bf87556ef
add textbbox and textlength to ImageDraw2 and update tests
2022-06-19 22:04:57 +01:00
nulano
f34a6460ef
update test_font_pcf to use getbbox
2022-06-19 22:04:56 +01:00
nulano
c854bf8d1c
add getbbox and getlength to basic ImageFont and update related tests
2022-06-19 22:04:56 +01:00
mergify[bot]
8de74b9fab
Merge pull request #6370 from LostBenjamin/patch-1
...
Fix wrong operator bug in PyCMSError exception message
2022-06-19 13:21:43 +00:00
Hugo van Kemenade
1229110fb2
Update comment
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-06-19 15:22:02 +03:00
Hugo van Kemenade
607f508080
Update comment
...
We get "an integer is required (got type NoneType)" with Python 3.7-3.9 on Windows.
We get "'NoneType' object cannot be interpreted as an integer" with Python 3.10 on Windows and all versions on macOS and Ubuntu.
2022-06-19 12:29:39 +03:00
Andrew Murray
709744432a
Optimise palettes with more than 128 colors
2022-06-19 16:47:50 +10:00
Ray Gardner
128ed189e5
Improve test in _get_optimize()
...
Palette can be optimized if number of colors can be reduced by half or more.
2022-06-18 18:07:58 -06: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
Andrew Murray
4d6e5a0d09
Limit tile size to avoid extending outside image
2022-06-16 08:36:43 +10:00
Hugo van Kemenade
6ae6a241f2
More generic match text
2022-06-15 21:57:20 +03:00
Hugo van Kemenade
983a6139d5
Check other exception messages
2022-06-15 21:42:04 +03:00
Hugo van Kemenade
6c889d1088
Test ImageCms.profileToProfile with invalid flags
2022-06-15 21:34:16 +03:00