Commit Graph

6462 Commits

Author SHA1 Message Date
Alexander
654b5f7958 tests for env vars 2017-09-19 01:00:18 +03:00
Alexander
db08235c05 reduce size of blocks returned to pool 2017-09-19 00:14:44 +03:00
Alexander
44c2698f69 ImagingMemoryBlock structure 2017-09-18 22:48:32 +03:00
Alexander
67e1e03c79 Set options from environment variables 2017-09-18 21:29:48 +03:00
Alexander
3bfdfcd48a reduce code duplication 2017-09-18 03:57:43 +03:00
Alexander
2ab19bbe44 actually fix tests on pypy 2017-09-18 03:17:45 +03:00
Alexander
23527774d3 test for images wider than block_size 2017-09-18 02:57:14 +03:00
Alexander
ae104b0d0e collect garbage before check memory 2017-09-18 02:51:27 +03:00
Alexander
6d2be876c8 tests 2017-09-18 02:37:47 +03:00
Alexander
af3dcf84af python api for resources 2017-09-18 01:41:39 +03:00
Alexander
53dde3b7f6 fix visual c compiler 2017-09-17 22:46:11 +03:00
Alexander
8659cd7564 stats 2017-09-17 21:31:50 +03:00
Alexander
4951962af1 ImagingMemoryArean tata type 2017-09-17 20:31:13 +03:00
Alexander
dc192be83f temp 2017-09-17 20:10:31 +03:00
Alexander
c8a2923d17 Return blocks in reverse order to reduce reallocations 2017-09-17 19:54:49 +03:00
Alexander
fd907fbdc9 Fix 0-width and 0-height images other way 2017-09-17 03:31:24 +03:00
Alexander
0054743100 fix zero size images 2017-09-17 02:58:01 +03:00
Alexander
6007e818a9 debug messages 2017-09-17 01:40:30 +03:00
Alexander
a5034b54cd do not request more lines than required 2017-09-17 01:34:57 +03:00
Alexander
f2123b4222 limit allocated memory to lines_per_block * linesize size
allocate block for wider lines
2017-09-17 01:22:44 +03:00
Alexander
d4a1f7a01a align lines 2017-09-16 22:58:37 +03:00
Alexander
63b925d74c Merge branch 'master' into block-storage
# Conflicts:
#	libImaging/Imaging.h
2017-09-16 22:21:56 +03:00
Alexander Karpinsky
574a8e4793 Merge pull request #2739 from uploadcare/convert-tabs-to-spaces
Fix indention in Imaging.h
2017-09-16 21:26:50 +03:00
Alexander
763df3d90b Convert tabs to spaces in Imaging.h 2017-09-16 20:46:09 +03:00
Alexander
883fb8f9e9 MEMORY_MAX_BLOCKS should be 0 by default 2017-09-15 19:00:53 +03:00
Alexander
fe283b10a5 Do not use ImagingNewBlock at all 2017-09-15 18:11:20 +03:00
Alexander
f584f8399a save released blocks 2017-09-15 18:00:15 +03:00
Alexander
0a3c852e1b work in ImagingAllocateArray with blocks 2017-09-15 17:50:29 +03:00
Alexander
852124d49b Add params check for ImagingNewBlock 2017-09-15 17:32:49 +03:00
Alexander Karpinsky
1f61c4efd4 Merge pull request #2686 from uploadcare/new-dirty
Use ImagingNewDirty when possible
2017-09-14 14:14:33 +03:00
Alexander Karpinsky
51cee56245 Merge pull request #2732 from uploadcare/filter-cleanup
Cleanup Filter.c
2017-09-14 14:04:03 +03:00
Alexander
be02f87ee7 fix comment [ci skip] 2017-09-14 14:02:30 +03:00
Alexander
ef1df617f9 move _i2f to utils 2017-09-12 17:35:38 +03:00
wiredfool
3b5c2c30be Merge pull request #2679 from uploadcare/fast-filters
Fast filters
2017-09-10 17:22:00 +01:00
wiredfool
e310b38ba6 Update CHANGES.rst [ci skip] 2017-09-10 17:21:41 +01:00
Alexander Karpinsky
97141bcfd6 Merge pull request #2728 from uploadcare/fast-geometry
Faster ImagingFlipLeftRight
2017-09-10 13:08:24 +03:00
Alexander
98ee46827c MultibandFilter 2017-09-10 12:59:51 +03:00
Alexander
6df28bc359 Faster ImagingFlipLeftRight 2017-09-10 12:45:45 +03:00
Alexander Karpinsky
1bd1cb14c7 Merge pull request #2726 from uploadcare/fast-rgb2l
Faster RGB to L and RGBA to LA conversion
2017-09-10 10:24:03 +03:00
Alexander
765c7eb7de Shift is faster than devision 2017-09-10 01:14:53 +03:00
wiredfool
f589a61e22 Update CHANGES.rst [ci skip] 2017-09-09 13:43:03 +01:00
wiredfool
a795714a8f Merge pull request #2722 from wiredfool/pr_2636
Updated version of #2636
2017-09-09 13:42:44 +01:00
Eric Soroos
c42867fa2c Added expected result, renamed images 2017-09-09 12:01:38 +00:00
Samuele Kaplun
c07ce878d7 Fix EPS import
Fixes EPS import by adding the missing "showpage" Postscript command
to the end of the gs call.

See: https://bugs.ghostscript.com/show_bug.cgi?id=698272

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
2017-09-09 12:01:38 +00:00
wiredfool
bb291dcbd1 Merge pull request #2723 from wiredfool/pr_2697
Updated version of #2697
2017-09-09 12:02:57 +01:00
Eric Soroos
566d69483d rewording 2017-09-09 10:29:49 +00:00
Alexander
d6ec5df08d no longer true 2017-09-09 10:17:14 +00:00
Alexander
b91d7c997e Release notes for my changes 2017-09-09 10:17:14 +00:00
wiredfool
5238e7ccc8 Update CHANGES.rst [ci skip] 2017-09-09 10:36:37 +01:00
wiredfool
66a9a916e0 Merge pull request #2703 from kkopachev/patch-1
Fix comment about palette class in quantize method
2017-09-09 10:29:59 +01:00