Line
Link Here
|
0 |
-- libart/src/rbart_canvas.c |
0 |
++ libart/src/rbart_canvas.c |
Lines 15-20
Link Here
|
15 |
|
15 |
|
16 |
#include <jpeglib.h> |
16 |
#include <jpeglib.h> |
17 |
#include <png.h> |
17 |
#include <png.h> |
|
|
18 |
#include <zlib.h> /* Z_BEST_COMPRESSION */ |
18 |
|
19 |
|
19 |
#define ART_CANVAS_PNG_INTERLACE_ADAM7 1 |
20 |
#define ART_CANVAS_PNG_INTERLACE_ADAM7 1 |
20 |
#define ART_CANVAS_ALPHA_MASK 2 |
21 |
#define ART_CANVAS_ALPHA_MASK 2 |
Lines 352-358
Link Here
|
352 |
return Qnil; |
353 |
return Qnil; |
353 |
} |
354 |
} |
354 |
|
355 |
|
355 |
if (setjmp(png_ptr->jmpbuf)) |
356 |
if (setjmp(png_jmpbuf(png_ptr))) |
356 |
{ |
357 |
{ |
357 |
png_destroy_write_struct(&png_ptr, &info_ptr); |
358 |
png_destroy_write_struct(&png_ptr, &info_ptr); |
358 |
return Qnil; |
359 |
return Qnil; |