Oliver Tonnhofer
2b7d8be536
tiff: add support for JPEG quality
...
Uses JPEGQUALITY pseudo-tag from libtiff.
Also changes the way tags are passed to PyImaging_LibTiffEncoderNew from
dict to list to ensure that COMPRESSION tag is added before JPEGQUALITY.
This is required as the COMPRESSION tag registers the JPEGQUALITY
pseudo-tag.
2019-06-26 06:33:54 +10:00
Christoph Gohlke
47f7eba279
Fix memory leak
2019-06-25 13:33:49 -07:00
Oliver Tonnhofer
61add9d6b0
Improve encoding of TIFF tags
...
- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).
2019-06-26 06:33:19 +10:00
Andrew Murray
25cf1010eb
Lint fixes
2019-06-25 22:20:57 +10:00
nulano
983371d4d8
fix centos, amazon
2019-06-25 22:16:00 +10:00
nulano
be192d8f69
fix lint
2019-06-25 22:16:00 +10:00
nulano
5f65f10191
add test for #3777
2019-06-25 22:16:00 +10:00
nulano
92ff050bf9
replace PyUnicode_GetLength and PyUnicode_ReadChar with macro versions
2019-06-25 22:14:48 +10:00
nulano
6aba1df727
update Py_UNICODE to Py_UCS4
2019-06-25 22:14:47 +10:00
Hugo
ea570a8c5b
Merge pull request #3915 from radarhere/typo
...
Fixed typos
2019-06-25 11:41:58 +03:00
Hugo
d31069072b
Added CMYK;16B and CMYK;16N unpackers ( #3913 )
...
Added CMYK;16B and CMYK;16N unpackers
2019-06-25 11:41:51 +03:00
Andrew Murray
78d4b7f03e
Fixed typos
2019-06-25 05:54:14 +10:00
Hugo
73884576d4
Some styling and wording
2019-06-24 11:04:13 +03:00
Hugo
72bf9f6529
Use the common test-suite image
2019-06-24 10:48:33 +03:00
Hugo
fd1d779ae1
Strip trailing whitespace
2019-06-24 10:45:53 +03:00
Andrew Murray
d00e18b017
Updated test result
2019-06-23 14:01:51 +10:00
David Nisson
ddb61cfbd2
updated tests to match new tile descriptors
2019-06-23 13:59:20 +10:00
David Nisson
5857bf8243
corrected args to reflect change to tile descriptors
2019-06-23 13:49:41 +10:00
David Nisson
cb7d9bcd12
updated TIFF tile descriptors to match current decoding functionality
2019-06-23 13:49:15 +10:00
Jeffery To
4119d3015b
Include CPPFLAGS when searching for libraries
...
This adds CPPFLAGS to the list of environment variables (currently
CFLAGS and LDFLAGS) searched when looking for includes and library
directories, as CPPFLAGS may also include -I options.
2019-06-23 12:06:06 +10:00
Andrew Murray
9c37933bb9
Added CMYK;16B and CMYK;16N unpackers
2019-06-23 11:56:17 +10:00
Andrew Murray
7bb16de81c
Fixed crash when loading non-font bytes
2019-06-23 11:53:01 +10:00
Andrew Murray
db4916849e
Added ImageSequence all_frames
2019-06-23 07:34:39 +10:00
Andrew Murray
e0cbfb2708
Consider I;16 pixel size when drawing
2019-06-23 07:33:55 +10:00
Andrew Murray
32d10505a3
Merge pull request #3914 from radarhere/black
...
Fixed black formatting
2019-06-23 07:17:45 +10:00
Hugo
c1b3adbd1b
Merge pull request #3910 from radarhere/xrgb
...
Changed bits value for XRGB unpackers
2019-06-22 10:24:24 +03:00
Andrew Murray
68fac40147
Fixed black formatting
2019-06-22 14:47:56 +10:00
Hugo
f5cd8b4b0d
Merge pull request #3909 from hugovk/run-black
...
Format code with Black
2019-06-22 06:46:15 +03:00
Andrew Murray
0a73e31415
Added note about RGBX padding
2019-06-21 19:37:43 +10:00
Hugo
9d5a50a0fd
Moved issue template into directory ( #3908 )
...
Moved issue template into directory
2019-06-20 14:00:06 +03:00
Hugo
14373c8723
Added release notes for #3802 and #3856 ( #3911 )
...
Added release notes for #3802 and #3856
2019-06-20 13:52:31 +03:00
Andrew Murray
dfa9e7aeff
Apply suggestions from code review [ci skip]
...
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-20 20:31:57 +10:00
Andrew Murray
1d1edb8fc4
Added release notes for #3802 and #3856 [ci skip]
2019-06-20 20:01:43 +10:00
Andrew Murray
414c9aafec
Moved issue template into directory
2019-06-20 19:07:00 +10:00
Hugo
f2be7c4580
Merge pull request #3903 from hugovk/update-issue-template
...
Advice on general questions, bug reports and feature requests
2019-06-20 08:16:11 +03:00
Hugo
c711a423be
Update CHANGES.rst
2019-06-19 17:06:18 +03:00
Hugo
26182dde13
Fixed bugs in calculating text size ( #3864 )
...
Fixed bugs in calculating text size
2019-06-19 17:04:57 +03:00
Andrew Murray
ea0f1c6b06
Do not presume that the last glyph has the max x value
2019-06-19 22:32:01 +10:00
Andrew Murray
fb38296230
Change direction of y offset in calculating size
2019-06-19 22:30:50 +10:00
Hugo
be1b551bfc
Add __main__.py to output basic format and support information ( #3870 )
...
Add __main__.py to output basic format and support information
2019-06-19 14:42:34 +03:00
Hugo
d867181855
Added variation font support ( #3802 )
...
Added variation font support
2019-06-19 14:41:57 +03:00
Andrew Murray
da16b7ec45
Added variation font support
2019-06-19 20:27:49 +10:00
Hugo
2334040f56
Merge pull request #3860 from olt/non-ascii-quotes
...
Replace non-ascii quotes from docstring
2019-06-19 12:03:14 +03:00
Hugo
835bc7023a
Update CHANGES.rst
2019-06-19 09:35:12 +03:00
Hugo
488a0170a3
Format with Black
2019-06-19 09:30:10 +03:00
Hugo
1b99362f3d
Merge remote-tracking branch 'upstream/master' into run-black
2019-06-19 09:29:28 +03:00
Hugo
f338eae128
Merge pull request #3869 from radarhere/imageshow
...
Do not down-convert if image is LA when showing with PNG format
2019-06-19 09:26:15 +03:00
Hugo
a9c05c7aa0
Merge pull request #3759 from radarhere/psd_frames
...
Improve handling of PSD frames
2019-06-19 09:15:13 +03:00
Hugo
ac6185ca15
Merge pull request #3897 from radarhere/load
...
Improved ICO and ICNS loading
2019-06-19 09:09:34 +03:00
Hugo
7f86ed1e52
Merge pull request #3896 from radarhere/preview
...
Changed Preview application path so that it is no longer static
2019-06-19 09:08:24 +03:00