Commit Graph

4940 Commits

Author SHA1 Message Date
wiredfool
a83ae6caee Merge pull request #1936 from wiredfool/unref_error
Fix "Fatal Python error: UNREF invalid object" in debug builds
2016-06-08 14:16:42 +01:00
wiredfool
45b28a2a4b Merge pull request #1937 from wiredfool/alpine-setup
Alpine setup.py fixes
2016-06-08 14:15:33 +01:00
wiredfool
62551a8b49 Merge pull request #1933 from uploadcare/resample-vertical-pass
Resample horizontal + vertical pass
2016-06-08 14:14:41 +01:00
homm
12c8cf94f2 replace calloc with remaining values emptying 2016-06-08 03:45:08 +03:00
Hugo
1d47ff5f4d Fix for program importing PyQt4 when PyQt5 also installed
Fixes https://github.com/python-pillow/Pillow/issues/1939 using suggested solution.
2016-06-07 16:17:20 +03:00
homm
c8262660f0 add RGBa to ImageMode.getmode() as a temporary 2016-06-03 13:01:24 +03:00
homm
3b7923c09f add calloc explanation 2016-06-03 12:51:58 +03:00
wiredfool
4cca857b1e Updated Changes.rst [ci skip] 2016-05-31 14:41:08 +01:00
wiredfool
6fe8d0f15b Merge pull request #1914 from uploadcare/box-blur-alpha
Box blur with premultiplied alpha
2016-05-31 14:40:25 +01:00
Matthew Brett
4bc75e4088 RF: try finding tkinter in Python rather than C
Use imported module to find tkinter.  Should find tkinter module for all
available versions of PyPy that have tkinter compiled, as well as
CPython.
2016-05-30 12:51:28 -07:00
wiredfool
187c0f48d7 imagequant build 2016-05-30 07:18:23 -07:00
wiredfool
d316c185b3 Main git repo, on master. Will fail till PR is merged 2016-05-30 07:02:06 -07:00
wiredfool
d81c016052 Sample dockerfile for alpine linux 2016-05-30 06:51:45 -07:00
wiredfool
ac51f1ee37 Fixes to run cleanly on alpine linux 2016-05-30 06:28:08 -07:00
wiredfool
ffb61968f0 Initialize ptr and guard call to free 2016-05-30 03:56:28 -07:00
wiredfool
72c45e6f5d Fix Fatal Python error: UNREF invalid object in debug builds
PyObject_Del() should only be called on the self object in
a dealloc call, not after failing to make a new object.
Replace with Py_DECREF, which eventually calls PyObject_Del()

http://bugs.python.org/issue3299#msg78740
https://mail.python.org/pipermail/python-dev/2003-February/033258.html
2016-05-30 03:16:16 -07:00
homm
f09067e45e add La mode (2 bands) to the test 2016-05-28 10:47:14 +03:00
homm
34afabbf18 return malloc where clearing is not required 2016-05-28 10:47:07 +03:00
Matthew Brett
6968c0c712 BF: make sure tkinter loaded for check
Make sure that tkinter package is loaded before checking for symbols in
process (Windows).
2016-05-27 19:42:21 -04:00
Matthew Brett
659e294676 RF: run-time loading of Tcl / Tk functions
Discover Tcl / Tk functions at run-time by looking in libs loaded by
Tkinter Python module.

Use header excerpts from Tcl / Tk so we don't need an installed Tcl / Tk
to build.
2016-05-27 16:51:08 -04:00
Hugo
2af16a7b58 Typos
[CI skip]
2016-05-27 08:52:46 +03:00
Hugo
034c5fe8cb Merge pull request #1931 from wiredfool/pngquant-docs
Additional docs for libimagequant
2016-05-27 08:51:28 +03:00
homm
4ea0c83450 do not rotate image between passes 2016-05-27 07:24:22 +03:00
homm
c051f1d79d ImagingResampleVertical_32bpc implementation 2016-05-27 07:21:34 +03:00
homm
5cd8c35c82 complete ImagingResampleVertical_8bpc implementation 2016-05-27 07:12:01 +03:00
homm
a1b12f792a improve CoreResampleAccuracy test. Use all bands configurations 2016-05-27 07:09:49 +03:00
homm
8180b0f4c3 ResampleVertical first implementation 2016-05-27 06:52:19 +03:00
homm
edc9880b61 accept RGBa and La modes for blur 2016-05-27 03:16:48 +03:00
wiredfool
74547b5251 Notes on EPS reading CMYK and returning RGB 2016-05-26 22:25:37 +01:00
wiredfool
13b8c1c70b test the output for a CMYK EPS image 2016-05-26 22:06:10 +01:00
wiredfool
241c54e5a0 more detailed docs for libimagequant 2016-05-26 21:55:36 +01:00
wiredfool
15586c5b59 Update CHANGES.rst [ci skip] 2016-05-26 21:13:09 +01:00
wiredfool
3657bc10a6 Merge pull request #1889 from rr-/libpngquant
Add libimagequant support in quantize()
2016-05-26 21:12:25 +01:00
wiredfool
4416873904 Update CHANGES.rst [ci skip] 2016-05-26 21:08:39 +01:00
wiredfool
761f470b92 Merge pull request #1912 from uploadcare/premultiplied-luminosity
Premultiplied luminosity
2016-05-26 21:03:26 +01:00
rr-
db989ad99b Add perceptive comparisons to quantization tests 2016-05-26 17:23:43 +02:00
homm
b56d8f3f1f speedup La -> LA conversion in most cases 2016-05-26 15:22:01 +03:00
homm
d1272b9b8a speedup RGBa -> RGBA conversion in most cases 2016-05-26 15:15:08 +03:00
homm
c4b92d09b7 support for La mode 2016-05-26 15:15:08 +03:00
homm
1ed5c59f23 tests for LA modes 2016-05-26 15:15:08 +03:00
homm
8947485e71 test dirty pixels 2016-05-26 15:15:08 +03:00
homm
05d1022e99 test for levels 2016-05-26 15:15:08 +03:00
wiredfool
d8c4ef349c Updated Changes.rst [ci skip] 2016-05-26 10:05:45 +01:00
wiredfool
0cfcc9e6ed Merge pull request #1881 from uploadcare/fpi-resample
Fixed point integer resample
2016-05-26 10:04:52 +01:00
homm
5ffd9e53bc use calloc and INT_MAX 2016-05-26 02:28:35 +03:00
homm
1c3def1d5a return malloc 2016-05-26 02:07:56 +03:00
homm
555d2ace49 add test for L 2016-05-26 02:07:56 +03:00
homm
eec17c0c7a change xmax meaning to avoid substructions 2016-05-26 02:07:56 +03:00
homm
7722d00daf simpler coefficients calculation in ImagingResampleHorizontal_8bpc 2016-05-26 02:07:56 +03:00
homm
d3749ccc7c possible increase precision and avoid compiler warnings 2016-05-26 02:07:56 +03:00