Alexander
ab92adf7c9
move ImagingNewEpilogue functionality to ImagingNewPrologueSubtype
...
doublechecked: no im->image or im->image8 or im->image32 access
between ImagingNewPrologue and ImagingNewEpilogue anywhere
2017-08-06 14:12:55 +03:00
Alexander
fd9cf03d01
FIX memory leak
...
ImagingNewEpilogue now is always success
The Imaging object itself is freed through ImagingDelete in case
when memory is not allocated in ImagingNewBlock or ImagingNewArray
2017-08-06 14:12:55 +03:00
Alexander
152104bba3
check args before allocate memory
2017-08-06 14:12:55 +03:00
Alexander
430c53707f
no reasons to release GIL for one calloc
2017-08-06 14:12:55 +03:00
Lukasz Kozuchowski
3ffcd9770c
BUG fix: '' in image mode no longer causes a crash
2017-01-29 07:20:44 +01:00
wiredfool
5d8a0be45a
Memory error in Storage.c when accepting negative image size arguments
2016-10-03 07:27:02 -07:00
wiredfool
54a979749c
Rework block allocator
2016-06-08 06:21:38 -07:00
wiredfool
768936fa33
overflow check for im->linesize
2016-06-08 06:21:38 -07:00
wiredfool
d48e5cd500
Convert xsize/ysize to ints in function declarations to match all other uses of xsize/ysize
2016-06-08 06:21:38 -07:00
wiredfool
52d60cd096
Malloc check, #1715
2016-06-08 06:21:38 -07:00
homm
c4b92d09b7
support for La mode
2016-05-26 15:15:08 +03:00
wiredfool
625ff24358
Storage, packing and access for HSV format images
2014-07-22 16:09:22 -07:00
wiredfool
b7f56409eb
Multiplication needs to be 64bit, to handle overflow regardless of the bittedness of the machine, fixes #771#
2014-07-05 14:30:34 -07:00
Eric Soroos
ec6fd4d672
mixed 8ch tabs + spaces -> 4 space indent
2013-12-13 15:17:43 -08:00
Eric Soroos
1060a59de9
int->py_ssize_t for potentially large numbers
2013-12-13 15:16:14 -08:00
Eric Soroos
6f8d968cbb
MM and II 16 bit integer tiffs unpack properly using libtiff on bigendian platform
2013-10-21 22:17:33 +00:00
wiredfool
4458787f5e
Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency
2013-10-14 22:47:27 -07:00
wiredfool
cb9440a2f5
packing into 24bit
2013-10-11 23:31:26 -07:00
wiredfool
1c3932e89f
Added LAB mode, core dumped
2013-10-10 23:27:34 -07:00
Nikolas Stevenson-Molnar
dcd40ce5b5
Fix for #254
2013-09-30 01:04:58 -07:00
Alex Clark
bb1b3a532c
Cleanup WS, courtesy of @Arfrever
...
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
Christoph Gohlke
cee97b83cc
64 bit proof ImagingNew
2013-03-08 11:03:43 -08:00
Alex Clark
9a640e3157
Forking PIL
2010-07-30 22:52:47 -04:00