#define COLORMODE_JP4DC 6 // jp4, 4 blocks, dc -improved
#define COLORMODE_JP4DIFF 7 // jp4, 4 blocks, differential red := (R-G1), blue:=(B-G1), green=G1, green2 (G2-G1). G1 is defined by Bayer shift, any pixel can be used
if(bufferImageData){/* Buffer the whole file before sending over the network to make sure it will not be corrupted if the circular buffer will be overrun) */
if(bufferImageData){// Buffer the whole file before sending over the network to make sure it will not be corrupted if the circular buffer will be overrun)