summaryrefslogtreecommitdiff
path: root/src/img_encoder.cc
diff options
context:
space:
mode:
authordeva <deva>2005-03-25 11:40:00 +0000
committerdeva <deva>2005-03-25 11:40:00 +0000
commit4560e4d0b6dd611f370cb0b0b20055042c620b2a (patch)
treebc3e45182a01d6ab769ec5fa3421b77f74638fbb /src/img_encoder.cc
parent806bf392ddf653b3b6ecefd5971db2520ceb2beb (diff)
reenabled jpeg writing (libjpegcode)
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);
- */
}