Hello,


I am trying to compress a gray scale image using IJG Jpeg library on a DSP. The compression is taking around 42 ms which is quiet longer than imagined. I didnt quiet understand where went wrong. Here are some parameters that i changed

cinfo.input_components = 1;
cinfo.in_color_space = JCS_GRAYSCALE;
cinfo.optimize_coding = TRUE;
cinfo.dct_method = JDCT_FASTEST;


please let me know, if there are any thing i can optimize