Thomas Viehmann
|
1c03526b65
|
Make Image.__array__ take optional dtype argument
This is required by the numpy protocol.
|
2021-07-01 13:09:40 +02:00 |
|
Andrew Murray
|
cab9179a85
|
Merge pull request #5315 from radarhere/simplified
Simplified code
|
2021-06-30 19:24:19 +10:00 |
|
Andrew Murray
|
0aa8bd00e7
|
Added warning if defusedxml is not found
|
2021-06-30 11:29:13 +10:00 |
|
Andrew Murray
|
d9d811ff21
|
Replaced xml.etree.ElementTree with defusedxml.ElementTree
|
2021-06-30 11:28:44 +10:00 |
|
Andrew Murray
|
41b58f4b16
|
Replaced xml.etree.ElementTree with re
|
2021-06-30 11:28:40 +10:00 |
|
Hugo van Kemenade
|
50302231ed
|
Merge pull request #5552 from radarhere/palette
|
2021-06-28 19:01:54 +03:00 |
|
Hugo van Kemenade
|
b5c4b9afe0
|
Merge pull request #5455 from radarhere/xmp
|
2021-06-28 18:43:04 +03:00 |
|
Hugo van Kemenade
|
6d94376d1f
|
Merge pull request #5416 from radarhere/tiff_exif
Allow getexif() to access TIFF tag_v2 data
|
2021-06-28 18:12:17 +03:00 |
|
Andrew Murray
|
1ee30ded0b
|
Fixed reloading palette
|
2021-06-28 22:27:05 +10:00 |
|
Andrew Murray
|
6db0e96102
|
Ensure image is loaded in remap_palette
|
2021-06-28 20:12:22 +10:00 |
|
Andrew Murray
|
804183c248
|
Only use an RGBA palette for images with an alpha channel
|
2021-06-27 18:29:02 +10:00 |
|
Andrew Murray
|
450382f574
|
Do not use raw ImagePalette
|
2021-06-27 15:09:39 +10:00 |
|
Andrew Murray
|
59a3e3bc60
|
Rearranged code to limit line length
|
2021-06-23 19:37:56 +10:00 |
|
Andrew Murray
|
9192a33b38
|
Removed unnecessary load()
|
2021-06-23 19:29:02 +10:00 |
|
Andrew Murray
|
8210645e4b
|
If all 256 colors are in use, then there is no need for an additional color for background or transparency
|
2021-06-23 19:28:46 +10:00 |
|
Andrew Murray
|
fa559277fb
|
When allocating a new color, repurpose an unused index if necessary
|
2021-06-23 19:27:08 +10:00 |
|
Andrew Murray
|
4d36feefc7
|
Set palette to be empty by default
|
2021-06-23 19:22:21 +10:00 |
|
Andrew Murray
|
aa4489c993
|
Keep palette the same length
|
2021-06-19 09:31:46 +10:00 |
|
Andrew Murray
|
f45d2e296d
|
Ensure palette string matches RGB mode
|
2021-06-19 09:16:05 +10:00 |
|
Andrew Murray
|
cd31dae0d1
|
Added getxmp() for PNG
|
2021-06-12 13:57:14 +10:00 |
|
Hugo van Kemenade
|
3cbf4d5ef7
|
Merge pull request #5379 from radarhere/numpy
Allow converting an image to a numpy array to raise errors
|
2021-05-20 15:09:02 +03:00 |
|
Andrew Murray
|
3795772187
|
Use python3
|
2021-05-08 12:37:06 +10:00 |
|
Andrew Murray
|
0f68e63793
|
Allow for sys.stdout.buffer to be missing
|
2021-05-03 18:07:05 +10:00 |
|
Andrew Murray
|
fae9afe351
|
Replace sys.stdout with sys.stdout.buffer when saving
|
2021-04-29 21:35:57 +10:00 |
|
Andrew Murray
|
622ba122ce
|
Added Exif load_from_fp method to get TIFF tag_v2 data
|
2021-04-29 21:21:55 +10:00 |
|
Andrew Murray
|
7c0344bb99
|
For special image modes, revert default resize resampling to NEAREST
|
2021-04-17 12:18:42 +10:00 |
|
Andrew Murray
|
77a8a53a94
|
Allow converting an image to a numpy array to raise errors
|
2021-04-03 13:20:58 +11:00 |
|
Andrew Murray
|
2c8684c525
|
Moved getxmp() into JpegImageFile
|
2021-04-01 22:28:37 +11:00 |
|
Hugo van Kemenade
|
6812205f18
|
Merge pull request #5144 from UrielMaD/feature_xmp
|
2021-04-01 12:44:47 +03:00 |
|
Andrew Murray
|
80878fa4c6
|
Merge branch 'master' into modes
|
2021-03-31 18:58:11 +11:00 |
|
Andrew Murray
|
0a56d9b287
|
Merge branch 'master' into simplified
|
2021-03-29 19:37:55 +11:00 |
|
Hugo van Kemenade
|
e405ab300b
|
Merge pull request #5351 from radarhere/categories
|
2021-03-28 14:34:50 +03:00 |
|
Andrew Murray
|
f799915d6f
|
Merge pull request #5304 from nulano/5300
Do not premultiply alpha when resizing with Image.NEAREST resampling
|
2021-03-28 16:02:01 +11:00 |
|
Andrew Murray
|
71cd97a519
|
Added deprecation warnings
|
2021-03-28 15:51:28 +11:00 |
|
Hugo van Kemenade
|
5e1d304769
|
Merge pull request #5353 from radarhere/quantize_attributes
Use quantization method attributes
|
2021-03-27 20:01:49 +02:00 |
|
nulano
|
49fa3656b1
|
do not premultiply alpha when resizing with Image.NEAREST resampling
|
2021-03-23 13:16:20 +01:00 |
|
Andrew Murray
|
4e0bc3bab6
|
Use quantization method attributes
|
2021-03-22 19:44:56 +11:00 |
|
Andrew Murray
|
0ff9879171
|
Document supported quantization methods for RGBA images
|
2021-03-22 19:21:31 +11:00 |
|
Andrew Murray
|
ab56edb49f
|
Documented default quantization method
|
2021-03-22 19:18:36 +11:00 |
|
Andrew Murray
|
36a4b055bb
|
Updated comments
|
2021-03-15 12:50:30 +11:00 |
|
Andrew Murray
|
68719fe6ea
|
Merge branch 'master' into exif
|
2021-03-15 12:41:45 +11:00 |
|
Andrew Murray
|
c52b45df62
|
Removed automatic retrieval of GPS IFD
|
2021-03-15 12:33:06 +11:00 |
|
Andrew Murray
|
ca204ba04f
|
Removed Image._MODEINFO
|
2021-03-07 14:21:27 +11:00 |
|
Andrew Murray
|
e437a8f981
|
Do not edit text of mode strings
|
2021-03-07 13:14:07 +11:00 |
|
Andrew Murray
|
8206f14419
|
Simplified code
|
2021-03-06 21:44:31 +11:00 |
|
Andrew Murray
|
690cf9ebe2
|
Allow alpha_composite destination to be negative
|
2021-03-06 20:54:21 +11:00 |
|
Andrew Murray
|
e763f8f2be
|
Save interop IFD when converting Exif to bytes
|
2021-02-22 07:47:59 +11:00 |
|
Andrew Murray
|
b25bc40009
|
Simplified code
Co-authored-by: Konstantin Kopachev <kkopachev@popsugar.com>
|
2021-02-22 07:47:05 +11:00 |
|
Andrew Murray
|
4b14f0102d
|
Save base IFDs when converting Exif to bytes
|
2021-02-22 07:47:05 +11:00 |
|
Andrew Murray
|
faf8fad76d
|
Stopped flattening EXIF IFD into getexif()
|
2021-02-22 07:47:05 +11:00 |
|