Commit Graph

607 Commits

Author SHA1 Message Date
Eric Soroos
681a68a994 swap non-windows headers with typedefs 2017-12-20 15:37:37 +00:00
Eric Soroos
a4b7a6d215 Dynamically load libraqm, now an optional runtime dependency 2017-12-20 15:37:37 +00:00
Eric Soroos
29c3373823 fix for issue #2811 2017-10-25 13:42:51 +00:00
wiredfool
e4619d0ae5 Merge pull request #2773 from cgohlke/patch-2
Fix bulletproof code from libc
2017-10-02 09:23:24 +01:00
Andrew Murray
0af6d75d00 Fix expression result unused warning 2017-10-02 17:19:25 +11:00
Christoph Gohlke
b2a4aa2959 Fix size_t not defined in PyPy 2017-10-01 22:16:13 -07:00
Christoph Gohlke
9e650ec713 Fix bulletproof code from libc 2017-10-01 20:07:00 -07:00
wiredfool
0d1e44dc2f Merge pull request #2769 from wiredfool/pr_2638
Update to #2638, add 16bit/rle support to SgiImageFile
2017-10-01 20:56:18 +01:00
Alexander
5a1cdfc72c rename arena->blocks to arena->blocks_pool
fix comments
2017-09-30 15:03:28 +03:00
Alexander
83530975e9 rename lines_remaining 2017-09-30 04:16:12 +03:00
Eric Soroos
7c629d7814 Added L;16/B pack functions 2017-09-29 13:41:39 +00:00
Eric Soroos
779310a832 malloc checks, overflow and errors 2017-09-29 11:01:10 +00:00
Mickael B
9e179c027c change uint32_t to UINT32 since stdint.h is not defined in old Visual C++ versions 2017-09-29 09:15:51 +00:00
Mickael B
e308adb9d6 add stdint.h for uint32_t definition 2017-09-29 09:15:45 +00:00
Mickael B
7fe23b39b9 store SgiRleDecoder elements in SGISTATE struct 2017-09-29 09:15:39 +00:00
Mickael B
c55b3aa402 fix compiler warnings 2017-09-29 09:15:32 +00:00
Mickael Bonfill
a422a28bb7 add unit tests 2017-09-29 09:15:21 +00:00
Mickael Bonfill
4b755d43ec Use file descriptor instead of chunks 2017-09-29 09:15:16 +00:00
Mickael Bonfill
c5565fc7f0 Fix RLE decompression by chunks 2017-09-29 09:14:51 +00:00
Mickael Bonfill
9caf8c5889 use UINT32 instead of ULONG 2017-09-29 09:13:55 +00:00
Mickael B
f833cd7f38 Avoid memory reallocation and support Y orientation in 16bits uncompressed read 2017-09-29 09:13:45 +00:00
Mickael B
bec76fdb42 Add uncompressed 16bits read for SGI Images 2017-09-29 09:13:37 +00:00
Mickael B
6869431c2b fix variable initialization in loops 2017-09-29 09:13:22 +00:00
Mickael B
a90dc49100 add RLE decompression for SGI images 2017-09-29 09:12:03 +00:00
Alexander
9db1b760e5 revert reverse order of blocks associated with the image
take alignment into account when calculating lines_per_block
2017-09-23 06:07:47 +03:00
Alexander
385963928f make MS C compiler happy 2017-09-23 04:56:18 +03:00
Alexander
145180a105 fix alignment 2017-09-23 04:44:01 +03:00
Alexander
6a435793d8 fallback to small block size on memory error
increase default block size to previous value
2017-09-23 04:15:19 +03:00
Alexander
b51d77e4e5 Merge branch 'master' into block-storage
# Conflicts:
#	docs/releasenotes/4.3.0.rst
2017-09-23 04:07:09 +03:00
Alexander
a78e92356f Merge branch 'master' into block-storage 2017-09-19 21:08:21 +03:00
Alexander
ecfc10d002 oops 2017-09-19 21:01:34 +03:00
Alexander
bca70a743d Merge branch 'master' into imaging-copy-palette-info 2017-09-19 20:51:52 +03:00
Alexander
bda6d1e588 rename ImagingCopyPaletteInfo to ImagingCopyPalette 2017-09-19 20:42:13 +03:00
wiredfool
e5513804a3 Merge pull request #2709 from uploadcare/alpha-composite-box
Alpha composite fixes
2017-09-19 11:13:19 +01:00
wiredfool
7541755aa5 Merge pull request #2730 from uploadcare/fast-geometry
Faster Transposition
2017-09-19 10:58:47 +01: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
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