Lines 25-36
extern "C" {
Link Here
|
25 |
#undef FAR |
25 |
#undef FAR |
26 |
#include <setjmp.h> |
26 |
#include <setjmp.h> |
27 |
|
27 |
|
28 |
#include "../LibJPEG/jinclude.h" |
28 |
#include <sys/types.h> |
29 |
#include "../LibJPEG/jpeglib.h" |
29 |
#include <stdio.h> |
30 |
#include "../LibJPEG/jerror.h" |
30 |
#include <jpeglib.h> |
31 |
#include "../LibJPEG/transupp.h" |
31 |
#include <jerror.h> |
32 |
} |
32 |
#include "../LibJPEG/transupp.h" |
33 |
|
33 |
} |
34 |
#include "FreeImage.h" |
34 |
#include "FreeImage.h" |
35 |
#include "Utilities.h" |
35 |
#include "Utilities.h" |
36 |
|
36 |
|
Lines 266-272
LosslessTransform(const FilenameIO *filenameIO, FREE_IMAGE_JPEG_OPERATION operat
Link Here
|
266 |
jcopy_markers_execute(&srcinfo, &dstinfo, copyoption); |
266 |
jcopy_markers_execute(&srcinfo, &dstinfo, copyoption); |
267 |
|
267 |
|
268 |
// Execute image transformation, if any |
268 |
// Execute image transformation, if any |
269 |
jtransform_execute_transformation(&srcinfo, &dstinfo, src_coef_arrays, &transfoptions); |
269 |
jtransform_execute_transform(&srcinfo, &dstinfo, src_coef_arrays, &transfoptions); |
270 |
|
270 |
|
271 |
// Finish compression and release memory |
271 |
// Finish compression and release memory |
272 |
jpeg_finish_compress(&dstinfo); |
272 |
jpeg_finish_compress(&dstinfo); |