summaryrefslogtreecommitdiff
path: root/src/img_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/img_encoder.cc')
-rw-r--r--src/img_encoder.cc4
1 files changed, 1 insertions, 3 deletions
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);
- */
}