From 4560e4d0b6dd611f370cb0b0b20055042c620b2a Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 25 Mar 2005 11:40:00 +0000 Subject: reenabled jpeg writing (libjpegcode) --- src/img_encoder.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/img_encoder.cc b/src/img_encoder.cc index 2f6d8b7..e6cfd2a 100644 --- a/src/img_encoder.cc +++ b/src/img_encoder.cc @@ -101,7 +101,6 @@ void ImgEncoder::writeJPEGFile(char *filename, int image_height // Number of rows in image ) { - /* struct jpeg_compress_struct cinfo; struct jpeg_error_mgr jerr; @@ -133,7 +132,7 @@ typedef enum { JCS_CMYK, // C/M/Y/K JCS_YCCK // Y/Cb/Cr/K } J_COLOR_SPACE; -* / +*/ cinfo.in_color_space = JCS_RGB; // colorspace of input image jpeg_set_defaults(&cinfo); @@ -157,5 +156,4 @@ typedef enum { // Step 7: release JPEG compression object jpeg_destroy_compress(&cinfo); - */ } -- cgit v1.2.3