Commit Graph

3579 Commits

Author SHA1 Message Date
mergify[bot]
c58d2817bc
Merge pull request #6056 from radarhere/fits
Added FITS reading
2022-02-20 21:49:01 +00:00
Andrew Murray
11948050ae Updated tests in light of #6060 2022-02-20 23:54:12 +11:00
Andrew Murray
7aa49741c6 Merge branch 'main' into getpalette 2022-02-20 23:52:20 +11:00
Hugo van Kemenade
b78e601b63
Merge pull request #6071 from radarhere/handler
Fixed BUFR, GRIB and HDF5 stub saving
2022-02-19 11:25:42 +02:00
Hugo van Kemenade
de06aba8f1
Merge pull request #6068 from radarhere/quantize
Changed quantize default dither to FLOYDSTEINBERG
2022-02-19 11:24:17 +02:00
Hugo van Kemenade
bfa6da63a4
Merge pull request #6045 from radarhere/imageshow
Do not automatically remove temporary ImageShow files on Unix
2022-02-19 11:06:10 +02:00
Hugo van Kemenade
3d33987d7c
Merge pull request #4685 from Meithal/patch-3
Correctly read JPEG compressed BLP images
2022-02-19 11:03:36 +02:00
Hugo van Kemenade
e0afe932a1
Merge pull request #6057 from radarhere/mode_conv
Merged _MODE_CONV typ into ImageMode as typestr
2022-02-19 10:13:36 +02:00
Andrew Murray
7dca0135dd Merge branch 'main' into fits 2022-02-19 14:41:45 +11:00
Andrew Murray
2368723230 Deprecated FitsStubImagePlugin 2022-02-19 14:41:12 +11:00
Andrew Murray
3f5fad3a27 Fixed BUFR, GRIB and HDF5 stub saving 2022-02-19 14:29:03 +11:00
Andrew Murray
f6e024212c Use enums for quantize instead of raw values 2022-02-19 10:49:23 +11:00
Hugo van Kemenade
1ec7be9a87
Merge pull request #6060 from radarhere/palette
Consider palette size when converting and in getpalette()
2022-02-18 23:31:56 +02:00
Hugo van Kemenade
07741c9315
Merge pull request #5954 from radarhere/enum 2022-02-18 15:53:41 +02:00
Andrew Murray
58509a48a8 Use existing image 2022-02-17 22:22:44 +11:00
Andrew Murray
74080b94f9 Updated comment 2022-02-17 18:55:48 +11:00
Hugo van Kemenade
0aca22e863
Merge pull request #6052 from radarhere/p2pa 2022-02-17 09:39:39 +02:00
Andrew Murray
d4ee19199c Replaced test image to avoid copyrighted color space 2022-02-17 14:39:18 +11:00
Andrew Murray
6be87277f7 Allow rawmode None to return the palette in the current mode 2022-02-17 10:35:13 +11:00
Andrew Murray
852859476b Added rawmode argument to getpalette() 2022-02-17 10:15:03 +11:00
Andrew Murray
54cb09d8b4 When converting to P, restrict colors to palette size 2022-02-16 11:01:00 +11:00
Andrew Murray
948c064b28 Allow getpalette() to return less than 256 colors 2022-02-16 09:56:13 +11:00
Hugo van Kemenade
f5a77fed39
Merge pull request #6054 from radarhere/palette 2022-02-15 19:01:07 +02:00
Andrew Murray
a2313be894 Merged _MODE_CONV typ into ImageMode as typestr 2022-02-15 18:01:02 +11:00
Andrew Murray
dfdb17671d Added FITS reading 2022-02-15 11:22:46 +11:00
Andrew Murray
9a4106c14f
Merge branch 'main' into enum 2022-02-15 08:12:28 +11:00
Andrew Murray
9cdb0508b6 Attach RGBA palettes from putpalette() when suitable 2022-02-14 20:28:47 +11:00
Andrew Murray
83d4f451fa Ensure image is opaque after converting P to PA with RGB palette 2022-02-14 16:10:59 +11:00
Andrew Murray
45534d130b Only skip test if libimagequant is earlier than 4 on ppc64le 2022-02-14 12:12:33 +11:00
Andrew Murray
3ba9587675 Added test 2022-02-12 09:07:17 +11:00
mergify[bot]
89768e3d57
Merge pull request #6042 from radarhere/tiff_bits
Clarify code and comments
2022-02-10 21:20:22 +00:00
Hugo van Kemenade
f5fab326fa
Merge pull request #6030 from radarhere/photoshopblocks
Added get_photoshop_blocks() to parse Photoshop TIFF tag
2022-02-10 09:40:17 +02:00
Andrew Murray
2ae70f144f Added get_photoshop_blocks() to parse Photoshop tag 2022-02-10 12:00:23 +11:00
Andrew Murray
e098481279 Combined width and height into size 2022-02-10 11:02:13 +11:00
Andrew Murray
b38a67fa12
Merge branch 'main' into enum 2022-02-10 09:52:24 +11:00
Mikhail Iurkov
2bbf5f0981
Lint 2022-02-09 16:53:27 +03:00
Mikhail Iurkov
bb5a090f60
Drop excess values in BITSPERSAMPLE 2022-02-09 16:40:43 +03:00
nulano
a278e0aa65
issue warning if Raqm layout is requested, but Raqm is not available 2022-02-07 23:57:35 +00:00
Andrew Murray
ed283d15ca
Merge pull request #6010 from radarhere/show_file
In show_file, use os.remove to remove temporary images
2022-02-03 09:41:20 +11:00
Andrew Murray
8da80130db In show_file, use os.remove to remove temporary images 2022-02-03 08:48:36 +11:00
Andrew Murray
dd46100bdc Restrict builtins within lambdas for ImageMath.eval 2022-02-03 08:42:53 +11:00
Andrew Murray
fb7edfda68 Improved consistency of returning an image access object from load() 2022-02-02 11:49:31 +11:00
DWesl
1b6a8c6122 TST: Parametrize numpy roundtrip to find failing case
Segfaults are annoying to debug.
2022-01-29 13:07:27 +11:00
Andrew Murray
31aa2ad98c Removed unused variables 2022-01-24 11:06:41 +11:00
Hugo van Kemenade
0a49ec1cc0
Merge pull request #5891 from shamrin/stable-jupyter-text-output
Keep IPython/Jupyter text/plain output stable
2022-01-23 10:29:50 +02:00
Andrew Murray
af90dd773b Raise an error when performing a negative crop 2022-01-18 16:38:00 +11:00
Andrew Murray
ddb0a6393f Added test 2022-01-18 11:46:29 +11:00
Andrew Murray
acd33bf62a Removed unused images 2022-01-18 09:10:36 +11:00
Andrew Murray
86944abbab Deprecated show_file "file" argument in favour of "path" 2022-01-15 16:08:37 +11:00
Andrew Murray
ed8073e846 Deprecated constants in favour of enums 2022-01-15 10:07:07 +11:00