wiredfool
1a43da7a8b
Removed 'Debugging' open_ppm call that didn't check file provided parameters for sanity
2016-10-03 07:27:02 -07:00
Andrew Murray
d3d29ab2e3
Use truth value when checking for optimize option on save
2016-09-25 21:20:54 +10:00
Andrew Murray
de6158f5f1
Read value when checking for JPEG progressive key
2016-09-23 20:32:21 +10:00
Andrew Murray
051a410859
Convert DPI to ints when saving as JPEG
2016-09-22 19:41:32 +10:00
homm
193c756139
return implicit RGBA to JPEG save, raise warning
2016-08-09 03:11:35 +03:00
homm
c1da18e0ad
do not allow to save images discarding alpha channel
2016-07-03 05:40:34 +03:00
Konstantin Kopachev
c8f93c979c
Skip extra 0xff00 in jpeg
2016-06-22 13:36:23 -07:00
Stephen Arthur
8b572ade81
Found edge cases with custom qtables
...
And there was a lingering bug since the previous qtable unsigned char fix
(#1814 ) since the call to array.array was in another place, the roundtrip was no
longer equivalent.
That was a minor change, but the revised test wouldn't pass because saving an image
with one custom qtable automatically adds a second to it by the call to
jpeg_set_defaults.
With 1 or >2 custom tables, there is extra work we have to do due to that call.
2016-05-22 17:54:31 -07:00
Andrew Murray
e51061dd59
Used isinstance instead of comparing types
2016-05-10 22:21:55 +10:00
Stephen Arthur
b38c32ed70
Valid range for baseline jpeg qtables 0 to 255, fixed issue from using signed char instead of unsigned char. added test
2016-04-06 18:47:51 -07:00
Andrew Murray
677b958a7f
Health fixes
2016-04-01 21:49:30 +11:00
wiredfool
a6c1331fdd
Rolling back exif support to pre-3.0 format
2016-01-01 04:14:24 -08:00
Hugo
c0b3fe77d7
Merge pull request #1621 from radarhere/health
...
Flake8 fixes
2015-12-31 15:18:31 +02:00
wiredfool
eba87ac6d9
Catch the IFD error near the source
2015-12-30 13:34:33 -08:00
Andrew Murray
a83bcec169
Flake8 fixes
2015-12-31 07:27:27 +11:00
wiredfool
33b90e9b6f
rolling back gps exif support to match pre 3.0.0 results
2015-12-29 22:58:54 +00:00
Andrew Murray
0b64d6d8bf
Removed unnecessary pass statement
2015-12-10 21:34:02 +11:00
Andrew Murray
e9a6a96053
Specified exception type
2015-12-02 16:23:49 +11:00
Andrew Murray
1306f7d6af
Updated URLs for redirects
2015-09-28 21:53:25 +10:00
wiredfool
cae6a5f86c
Merge pull request #1427 from radarhere/fix
...
Removed trailing whitespace
2015-09-20 10:48:06 +01:00
Andrew Murray
baac3c2321
Removed trailing whitespace
2015-09-15 21:37:51 +10:00
homm
9930b05a33
fix tiff exif loading in case when file is empty or ended
2015-09-15 04:06:51 +03:00
wiredfool
47a963c2a4
Legacy/versioned interface
2015-09-11 22:39:37 +01:00
Antony Lee
d5b46dce96
Fix MPO support, and Python2.6 support.
2015-09-11 22:34:50 +01:00
Antony Lee
56a3f0f2ab
Fix EXIF support.
2015-09-11 22:34:50 +01:00
Hugo van Kemenade
991829b75a
Merge pull request #1414 from wiredfool/pr1360
...
Catch TypeError in _getexif
2015-09-10 19:11:32 +03:00
wiredfool
587698051f
comments for future understanding
2015-09-10 04:36:07 -07:00
wiredfool
c614846fb7
Extend the fix to the other exif seek
2015-09-10 04:19:25 -07:00
homm
0b19a86087
skip any number extraneous chars at the end of chunks
2015-09-08 18:05:37 +03:00
Andrew Murray
c6b13d294f
Flake8 fixes
2015-08-25 22:27:18 +10:00
Hugo van Kemenade
8faf299ca0
Merge pull request #1333 from radarhere/format
...
Changed register calls to use format property
2015-08-04 15:37:09 +03:00
Andrew Murray
87d00fe441
Catch TypeError in _getexif file seek
2015-07-29 20:01:23 +10:00
Andrew Murray
2a3a34d2ff
Treat MPO with unknown header as base JPEG file
2015-07-19 22:56:04 +10:00
Andrew Murray
fa73879d19
Changed register calls to use format property
2015-07-04 23:29:58 +10:00
Andrew Murray
a996033079
Fixed various typos
2015-05-29 14:59:54 +10:00
Andrew Murray
9e00c77884
Fixed variable name in JpegImagePlugin
2015-05-08 14:28:49 +10:00
Andrew Murray
ee34d6843b
Further health fixes
2015-04-24 18:24:52 +10:00
Andrew Murray
d1c182cadc
Various Flake8 fixes
2015-04-24 09:26:52 +10:00
wiredfool
1e040feb1b
Adjust buffer size when quality=keep, fixes #148 (again)
2015-01-18 10:56:29 -08:00
homm
66cacc282b
do not use really draft JPEG decoding quality
2014-12-04 03:30:39 +03:00
hugovk
1de128d6b6
Merge branch 'master' into flake8
2014-09-14 10:23:51 +03:00
etienne
416d8e340e
Fixed issue #857 .
...
When saving a JPEG and specifying 'keep' for quality or subsampling,
if the source JPEG image is in grayscale mode, don't try to find the
subsampling of the source, because grayscale images don't have any
subsampling (it's only for color components).
For the moment the fix also ignores subsampling of CMYK JPEG because
currently Pillow doesn't support encoding JPEG in YCCK mode (and
subsampling doesn't make sense in CMYK, but Pillow permits saving CMYK
JPEG with subsampling, that's a bug). This fix pass those errors
silently, i.e. it doesn't raise an error when 'keep' is used but it's
not possible to keep the subsampling (because the image is grayscale
or CMYK). I think it's the proper behavior but I'm not sure.
2014-09-02 14:52:25 -07:00
hugovk
1335006cd7
flake8
2014-08-28 14:44:19 +03:00
Eric W. Brown
14976346a8
Fixed import for Python 3.
...
Fixed the trivial import bug that prevented the Python 3 version of MPO
from running. On the way fixed the trivial C bug that prevented
Convert.c from compiling properly in a Mac OS X environment for a
Python 3 target.
2014-07-25 11:50:21 -04:00
Eric W. Brown
a5683ab574
Implemented MP attribute breakdown with tests.
2014-07-24 15:00:19 -04:00
Eric W. Brown
dcd171c1b8
Minor refactoring per discussion and MPO docs.
2014-07-24 11:16:12 -04:00
Eric W. Brown
1d3fe7ff45
Corrected offset for MPO frames.
2014-07-22 18:23:45 -04:00
Eric W. Brown
d5909e4946
Basic MPO reading works, seek is partially there.
2014-07-22 13:31:51 -04:00
Eric W. Brown
53b7f6294b
First steps toward MPO support.
...
Allows Pillow to distinguish between JPEGs and MPOs, and provides some
MPO metadata handling. Does not yet handle multiple frames.
2014-07-16 11:36:56 -04:00
Michael Brown
c0fb5ace23
Fix load_djpeg and _save_cjpeg in windows
2014-06-30 19:52:07 -04:00