Commit Graph

6441 Commits

Author SHA1 Message Date
Alexander
82c986dfab Merge branch 'master' into 16-bit-rgb-tiff 2017-08-28 19:42:46 +03:00
Alexander Karpinsky
6b4b1dc3c5 Merge pull request #2694 from uploadcare/packing-tests
Packing tests
2017-08-28 19:42:06 +03:00
Alexander
40fe1f721e unpacking tests for "I" and "F" modes 2017-08-28 19:22:59 +03:00
Alexander
aac0869ca7 Revert little-endian byte order for "I" and "F" rawmodes 2017-08-28 19:02:15 +03:00
Alexander
efb0915b19 Convert CMYK to RGB like Google Chrome 2017-08-28 17:11:08 +03:00
Alexander
4d56db3a34 Fix wrong formula for subsampling=2 while JPEG saving 2017-08-27 20:03:36 +03:00
Alexander
b705df3b64 one div for blending 2017-08-27 12:40:53 +03:00
Alexander
12634c4524 Merge branch 'packing-tests' into fast-unpacking
# Conflicts:
#	Tests/test_lib_pack.py
2017-08-26 20:20:17 +03:00
Alexander
7f7b53447a Add tests for all new modes 2017-08-26 17:36:06 +03:00
Alexander
a78e45c3dc Merge branch 'packing-tests' into 16-bit-rgb-tiff 2017-08-26 17:17:49 +03:00
Alexander
922407e7f3 fix py3, change test 2017-08-26 11:02:51 +03:00
Alexander
f43b9f396f Second part of pack tests 2017-08-26 10:49:28 +03:00
neiljp (Neil Pilgrim)
9ec023503d Image.__eq__: Add isinstance check. 2017-08-24 16:46:12 -07:00
neiljp (Neil Pilgrim)
58df924da6 Image.py: _conv_type_shape: refactor for clarity and type-safety. 2017-08-24 16:46:12 -07:00
neiljp (Neil Pilgrim)
470da1c6de Image.rotate: Adjust variable use to avoid None & add comment re int/float. 2017-08-24 16:41:07 -07:00
neiljp (Neil Pilgrim)
6f69379fdc Image.remap_palette: Tweak to improve typing. 2017-08-24 15:41:44 -07:00
neiljp (Neil Pilgrim)
72b3e6819d Image._dump: Rewrite for clarity and type-safety. 2017-08-24 15:41:44 -07:00
neiljp (Neil Pilgrim)
ab6c60da1c Image.merge: Rename loop variable for clarity and type-safety. 2017-08-24 15:41:44 -07:00
Alexander
ebb10e8e1a Fix error in pypy 2017-08-24 01:45:24 +03:00
Alexander
8cb9cba1e0 Packing tests, first part. Fix RGBX packers 2017-08-24 00:58:39 +03:00
Alexander
2439c9b2db possible fix I→I and L→L unpacking on bigendian 2017-08-23 23:09:50 +03:00
Alexander
a812f6c480 fix tests test_I16 2017-08-23 23:09:09 +03:00
Alexander
d33eab504d byte strings 2017-08-23 10:52:30 +03:00
Alexander
29aca0815a Third part of unpack tests 2017-08-23 10:27:13 +03:00
Alexander
5c2199c97b Second part of unpack tests 2017-08-23 01:55:55 +03:00
Alexander
f012fa15dd First part of unpack tests 2017-08-23 01:32:10 +03:00
wiredfool
c7136f7ff8 Update CHANGES.rst 2017-08-22 22:35:54 +01:00
wiredfool
f5a8ece187 Merge pull request #2254 from uploadcare/resample-roi
Region of interest (box) for resampling
2017-08-22 22:35:12 +01:00
Alexander
eeeafa2651 One more tests 2017-08-22 22:30:20 +03:00
wiredfool
ff2c440921 Additional replacements of s# with PY_ARG_BYTES_LENGTH 2017-08-22 04:04:35 -07:00
Alexander
ad2c952697 Add more tests 2017-08-22 01:35:24 +03:00
Alexander
6d65123c10 Add some tests 2017-08-22 00:50:42 +03:00
Alexander
40d30f678b Use MAKE_UINT32 when possible for unpacking 2017-08-22 00:06:26 +03:00
Alexander
21d1c4cef5 Merge branch 'master' into 16-bit-rgb-tiff 2017-08-21 22:43:30 +03:00
Alexander
de3f59d0a7 assume 2017-08-21 17:14:33 +03:00
Alexander
846f986bc8 Tests for 16bit tiff 2017-08-21 17:10:05 +03:00
Alexander
6422592196 Support invalid TIFF headers 2017-08-21 17:09:35 +03:00
Alexander
8c64275156 Load 16-bit RGB and RGBA TIFF image 2017-08-21 16:28:29 +03:00
wiredfool
184a983f80 Fixed type to be byteslike object. 2017-08-21 03:44:34 -07:00
Alexander
fc40ef0c1e Move PREBLEND and BLEND to ImagingUtils.h 2017-08-19 15:58:23 +03:00
Alexander
d64f163760 Move MULDIV255 and SHIFTFORDIV255 to ImagingUtils.h 2017-08-19 15:47:04 +03:00
Alexander
58542fdfb9 Move WORDS_BIGENDIAN to ImagingUtils.h 2017-08-19 15:30:41 +03:00
Alexander
00b65ce1c3 unused 2017-08-19 15:27:39 +03:00
Alexander
762b09cdb5 unroll ImagingPackRGB 2017-08-18 01:46:00 +03:00
Alexander
b4e226714d Faster ImagingUnpackRGB 2017-08-17 23:54:30 +03:00
Alexander
b975f9db92 Merge branch 'master' into resample-roi
# Conflicts:
#	libImaging/Resample.c
2017-08-17 15:43:30 +03:00
wiredfool
8e8643d1ac Update CHANGES.rst [ci skip] 2017-08-17 12:55:29 +01:00
wiredfool
d078eaf724 Merge pull request #2684 from wiredfool/termux
Basic support for Termux (android)
2017-08-17 11:54:04 +01:00
wiredfool
e1aba29f9b Merge pull request #2683 from wiredfool/issue_2044
Test/fix for issue #2044
2017-08-17 11:52:07 +01:00
Alexander Karpinsky
07fa92ba5b Merge pull request #2677 from uploadcare/fast-merge
Fast merge()
2017-08-17 13:15:54 +03:00