wiredfool
9797e7bbfa
Merge pull request #1989 from uploadcare/jpeg-loading-without-convertion
...
Use RGBX rawmode for RGB JPEG images
2017-08-31 15:10:38 +01:00
Alexander
4d56db3a34
Fix wrong formula for subsampling=2 while JPEG saving
2017-08-27 20:03:36 +03:00
Alexander
3aea175141
use RGBX rawmode for JPEG encoding as well
2017-08-11 04:10:55 +03:00
Stephen Arthur
0bc4423487
Move the declaration to the beginning of scope to make vs happy
2016-05-22 19:13:19 -07:00
Stephen Arthur
67a243d82d
Removing the one-line variable declare / assign to make appveyor happy
2016-05-22 18:50:42 -07:00
Stephen Arthur
8b572ade81
Found edge cases with custom qtables
...
And there was a lingering bug since the previous qtable unsigned char fix
(#1814 ) since the call to array.array was in another place, the roundtrip was no
longer equivalent.
That was a minor change, but the revised test wouldn't pass because saving an image
with one custom qtable automatically adds a second to it by the call to
jpeg_set_defaults.
With 1 or >2 custom tables, there is extra work we have to do due to that call.
2016-05-22 17:54:31 -07:00
Andrew Murray
6bd7e7f02d
Removed trailing whitespace
2015-10-11 21:24:35 +11:00
wiredfool
d64b2376bc
Memory Leak: Freeing malloc'd memory in Jpeg Encode
2014-09-24 15:46:24 -07:00
wiredfool
00addab5e4
Real fix for PR #915 , keep track of the qtables length
2014-09-23 09:23:55 -07:00
Christoph Gohlke
b23c57e12a
Fix segfault in TestFileJpeg.test_quality_keep on win-amd64
2014-09-22 14:39:08 -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
wiredfool
37359369ce
Code to ensure buffer space for exif write and jpeg_write_scanline calls, tests, corrected buffer length calculation
2013-05-14 22:29:31 -07:00
wiredfool
11ce826121
mixed 8 char tabs & spaces -> spaces
2013-05-14 20:45:07 -07:00
Sandro Mani
e2c62ff1d2
Fix warning: pointer targets differ in signedness
2013-04-12 17:54:10 +02:00
etienne
55f2dc7b0b
Added quantization tables and subsampling options to the JPEG encoder.
2013-03-06 20:23:02 -05:00
d-schmidt
addf0f4d95
Added possibility to save exif information in jpeg-files
2013-01-10 21:36:21 +01:00
Alex Clark
9a640e3157
Forking PIL
2010-07-30 22:52:47 -04:00