Hugo
99887a5467
Improve the error message when importing ImageGrab on non-Windows ( #901 )
2014-09-16 16:05:22 +03:00
Hugo
126bf8f1d7
Merge pull request #898 from wiredfool/joshware-j2k-leak
...
Jpeg2k Decode/Encode Memory Leak Fix
2014-09-13 09:05:22 +03:00
Josh Ware
94194ed248
Cleaning up.
...
Reduced memory limit to 1GB
2014-09-12 22:09:27 -07:00
Josh Ware
7407371deb
NULLing pointers on cleanup
2014-09-12 22:09:27 -07:00
Josh Ware
3da6768a72
Testing whether e.cleanup causes segfaults
2014-09-12 22:09:27 -07:00
Josh Ware
caa95a26b2
Added memory leak fix and testing for Encoder
2014-09-12 22:09:27 -07:00
Josh Ware
7db19efe75
Reduced JPEG2000 test iterations, and added cleanup for decoding using PyPy
2014-09-12 22:09:27 -07:00
Hugo
af8bf3f1d2
Merge pull request #886 from wiredfool/epsfile-rebase
...
EpsFilePlugin Speed improvements.
2014-09-13 08:08:24 +03:00
Andrew Murray
255a090e97
Avoid resize operation if image is already the correct size
2014-09-10 10:41:46 +10:00
wiredfool
81076d5f29
Don't copy input file for GS if not necessary, length variable name fix
2014-09-02 23:21:02 -07:00
wiredfool
ee46f45b96
Remove unused code, tighten up readline for all the line endings
2014-09-02 23:20:41 -07:00
wiredfool
8f75cc2bbf
Don't search for the imagedata if we're not going to do anything with it
2014-09-02 23:20:33 -07:00
wiredfool
9b35a4538d
Read the offset using original fp
...
Read the rest of the text data using one of the line ending
wrappers.
2014-09-02 23:20:23 -07:00
wiredfool
8193566ff1
Try to open the file in universal line ending mode, fallback to prev behavior
2014-09-02 23:20:05 -07:00
wiredfool
17ac15543d
fp.tell resyncs the python3 with the file pointer
2014-09-02 15:20:25 -07:00
wiredfool
d8b2829f4b
Partial fix for test failures, works on py2.x
2014-09-02 15:20:25 -07:00
Kenny Ostrom
d5b4f136c5
added ifd offset to the tiff decoder args, call TIFFSetSubDirectory
2014-09-02 15:20:25 -07:00
wiredfool
99f7dd2aff
Allocate a new core image object for each frame, fixes problems with reusing palettes and image sizes
2014-09-02 15:20:25 -07:00
wiredfool
9f04c2d0a5
Don't close fd for multipage files
2014-09-02 15:20:24 -07: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
wiredfool
86d5d8abed
Merge pull request #882 from hugovk/effects
...
Tests and access functions for Effects.c
2014-09-02 14:36:24 -07:00
wiredfool
f6caaa1c9f
Merge pull request #875 from hugovk/tifftags
...
Correct duplicate EXIF and TIFF tags
2014-09-02 14:32:47 -07:00
hugovk
bcc5305125
Add access functions for ImagingEffectSpread with a test
2014-09-02 15:53:58 +03:00
hugovk
8c96d38ce9
Add access functions for ImagingEffectMandelbrot with a test
2014-09-02 15:14:00 +03:00
hugovk
860e67e1c4
Add access functions for ImagingEffectNoise with a test
2014-09-02 14:11:08 +03:00
hugovk
c2f0903627
Correct the correction: RelatedImageWidth=0x1001, RelatedImageLength=0x1002
2014-08-27 11:06:34 +03:00
hugovk
d866a29bd8
Correct duplicate EXIF tags: http://www.exiv2.org/tags.html
2014-08-27 10:46:34 +03:00
hugovk
ec2a225fff
flake8
2014-08-26 15:52:37 +03:00
hugovk
952d1d5bf5
Remove duplicate tag caused by typo in spec: http://www.asmail.be/msg0055321032.html
2014-08-26 15:51:37 +03:00
hugovk
998955b024
Fix for Python 3
2014-08-26 12:23:12 +03:00
hugovk
08499d3547
flake8
2014-08-26 12:16:32 +03:00
hugovk
6b5871a484
Fix for GIMP 1.3 gradient files
2014-08-26 12:14:58 +03:00
Hugo
9f7a382b02
Merge pull request #856 from megabuz/tgainfo
...
Fix TGA files with image ID field
2014-08-20 09:57:04 +03:00
Alexey Buzanov
f94b6b4025
flake8 and tests
2014-08-20 10:32:06 +04:00
wiredfool
2d634d3019
Bump Version/Changelog
2014-08-19 08:52:29 -07:00
wiredfool
347a1d8d95
J2k DOS fix -- CVE-2014-3598
...
Found and reported by Andrew Drake of dropbox.com
2014-08-19 08:25:40 -07:00
Hugo
3aa9326574
Merge pull request #843 from uvNikita/gif_mode_fix
...
Fixed wrong mode of gif image.
2014-08-19 17:50:49 +03:00
Alexey Buzanov
1bd4919a35
Fix tga files with image ID field
2014-08-19 17:53:51 +04:00
wiredfool
205e056f8f
Icns DOS fix -- CVE-2014-3589
...
Found and reported by Andrew Drake of dropbox.com
2014-08-13 09:25:11 -07:00
Nikita Uvarov
97e111d079
Fixed wrong mode of gif image.
...
In case of L mode and small image.
2014-08-07 16:23:08 +03:00
Hugo
3fa247fd7c
Merge pull request #837 from wiredfool/cms-profile
...
Return Profile with Transformed Images
2014-08-03 09:22:03 +03:00
wiredfool
6538d971e2
Docs for profile additions
2014-08-02 21:22:51 -07:00
Mat Moore
e5bceac912
Changed docstring to refer to the correct function
2014-08-02 12:17:57 +01:00
wiredfool
ed3016a08a
Merge pull request #832 from hugovk/IptcImagePlugin
...
Tests for IptcImagePlugin.py
2014-08-01 10:12:01 -07:00
hugovk
a0aff1a87f
Remove disabled _is_raw()
2014-08-01 11:12:47 +03:00
hugovk
f5440cc3e1
Fixes for Python 3
2014-07-30 20:43:34 +03:00
hugovk
515bb6e14d
flake8
2014-07-30 19:39:11 +03:00
Eric W. Brown
3f0ff0177e
Dropped unused "options" from MPO save.
2014-07-30 09:17:43 -07:00
Eric W. Brown
b46f5c6b1e
Better documented limited MPO save feature.
...
At present it’s only possible to save the current frame of an MPO, not
the MPO in its entirety. Added testing verifying as much.
2014-07-30 09:17:36 -07:00
wiredfool
5966278643
Added im.info['icc_profile'] to results for ImageCms.applyTransform
2014-07-29 21:20:11 -07:00