Andrew Murray
8383e840e4
Merge pull request #4626 from radarhere/stripbytecounts
...
Change STRIPBYTECOUNTS to LONG if necessary when saving
2020-06-21 09:02:56 +10:00
Hugo van Kemenade
2d9dcc7657
Merge pull request #4627 from radarhere/tiff_jpeg
...
Replaced tiff_jpeg with jpeg compression when saving TIFF images
2020-06-20 15:49:09 +03:00
Andrew Murray
8a51ad07fd
Renamed variable
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-20 22:41:04 +10:00
Andrew Murray
2d284aea12
Allow writing of UNDEFINED tags
2020-06-10 16:09:22 +10:00
Andrew Murray
7ecb5aaf7e
BYTE tags of variable length are only single strings
2020-06-10 16:09:22 +10:00
Hugo van Kemenade
124c06dcc1
Merge pull request #4550 from radarhere/logging
2020-05-25 16:55:35 +03:00
Andrew Murray
aa1761bc9f
Replace tiff_jpeg with jpeg compression when saving
2020-05-15 22:37:13 +10:00
Andrew Murray
b3604167ad
Change STRIPBYTECOUNTS to LONG if necessary when saving
2020-05-15 20:47:57 +10:00
Hugo van Kemenade
f83f19788b
Merge pull request #4552 from radarhere/animation
...
Simplified animation code
2020-04-17 19:30:04 +03:00
Andrew Murray
9956a6c777
Fixed bug when unpickling TIFF images
2020-04-17 22:13:14 +10:00
Andrew Murray
0b33a87b0d
Replaced property methods for n_frames and is_animated with normal properties
2020-04-17 22:00:21 +10:00
Andrew Murray
fe8225732a
Throw image loading error faster
2020-04-17 18:29:45 +10:00
Andrew Murray
13dcab0fb7
Replaced DEBUG with logging
2020-04-13 07:16:46 +10:00
Hugo
dda6145fce
Since Python 3.3 IOError and WindowsError have been merged into OSError
2020-04-10 12:57:29 +03:00
Andrew Murray
8924054dd9
Changed _limit_signed_rational
2019-12-31 19:12:33 +11:00
Andrew Murray
74d53bcd15
Lint fixes
2019-12-31 11:58:39 +11:00
Andrew Murray
6d3fb7b083
Merge branch 'master' into exif-writing-fixes
2019-12-31 11:38:33 +11:00
Andrew Murray
f77c409742
Renamed variable
2019-12-31 09:04:25 +11:00
Andrew Murray
82356f7f36
Removed _libtiff_version
2019-12-28 12:57:13 +11:00
Andrew Murray
34d04d3e82
Replaced distutils with C version check
2019-12-28 09:57:49 +11:00
Hugo
e5486b40f8
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-18 13:56:42 +02:00
Andrew Murray
29c0a2fa6e
Merge pull request #4197 from hugovk/rm-plugins-__version__
...
Remove deprecated __version__ from plugins
2019-11-18 22:07:54 +11:00
Hugo
12a725988e
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-16 17:10:10 +02:00
Hugo
0c5895470c
Remove deprecated __version__ from plugins
2019-11-05 17:01:03 +02:00
Hugo
cc63f66575
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-01 13:22:56 +02:00
Andrew Murray
887a7e503c
Only assign once
2019-10-30 22:10:38 +11:00
Andrew Murray
290189596e
Removed redundant return
2019-10-30 22:10:38 +11:00
Andrew Murray
d9845c14c8
Lint fixes
2019-10-29 22:42:34 +11:00
Hugo van Kemenade
40133cfc74
Merge branch 'master' into rm-2.7
2019-10-26 09:07:44 +03:00
Jon Dufresne
cae17eb927
Use more Pythonic super() instead of referencing parent class
...
https://rhettinger.wordpress.com/2011/05/26/super-considered-super/
2019-10-22 06:54:58 -07:00
Hugo
4382413bb4
Remove redundant bytearray
2019-10-07 16:23:43 +03:00
Hugo
865b17d5cf
Remove Python 2-compatibility code
2019-10-07 16:23:22 +03:00
Andrew Murray
7e3156eb17
Updated IFDRational operators
2019-10-07 14:30:59 +03:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Hugo
af770a6c55
Drop support for EOL Python 2.7
2019-10-07 14:30:59 +03:00
Andrew Murray
6a83d5b239
Merge pull request #4114 from radarhere/tiff_size
...
Removed deprecated setting of TIFF image sizes
2019-10-05 02:33:08 +10:00
Andrew Murray
d6ae0a99a7
Removed deprecated setting of TIFF image sizes
2019-10-03 22:12:28 +10:00
Andrew Murray
1e6eac40fc
Changed condition to use DEBUG as a boolean
2019-10-03 20:23:49 +10:00
Andrew Murray
9a977b975c
Raise error if dimension is a string
2019-09-30 18:48:10 +10:00
Andrew Murray
f9236a11ce
Do not seek if the file pointer is about to be closed
2019-09-21 21:54:39 +10:00
Andrew Murray
1b70a4c6b5
Use TIFF orientation
2019-09-13 22:36:26 +10:00
Konstantin Kopachev
06e34db10b
Merge remote-tracking branch 'upstream/master' into exif-writing-fixes
...
# Conflicts:
# Tests/test_file_tiff_metadata.py
2019-08-29 09:20:09 -07:00
Andrew Murray
ddcfd259cf
Corrected short and long range checks
2019-08-29 19:36:46 +10:00
Andrew Murray
524933aa1d
Lint fixes
2019-08-12 19:43:35 +10:00
Konstantin Kopachev
1b626f4d22
Fix RATIONAL and SRATIONAL boundaries when writing IFDs
2019-08-12 19:43:35 +10:00
chadawagner
597ca79b1b
rewind before decode, consistent with other cases
2019-08-12 18:56:34 +10:00
chadawagner
88be36c27a
check prior fp result, do not use if False
2019-08-12 18:56:34 +10:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Oliver Tonnhofer
edeb8d69af
Merge branch 'master' into tiff-jpeg-quality
2019-07-01 11:00:06 +02:00
Oliver Tonnhofer
2af4026201
Improve encoding of TIFF tags ( #3861 )
...
* 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).
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2019-06-30 21:48:19 +03:00