How do I write encoded information (JPEG/JFIF) when i used 16x16 quantization table block

367 Views Asked by At

I'm trying to develop a JPEG encoder by using 16x16 quantization table block and DCT block instead of 8x8. I faced some issues while I'm writing the JFIF header of this new image. 0xFFDB is the JFIF marker of the quantization table. there is 2 bytes to set the size of the quantization table and in my case the size is (256+3) = 259. after saving the image MATLAB can't read or show it. so i used a tool to read the JFIF header and i noticed that the 16x16 quantization table is divided into many tables of 8x8 block!!!!! As shown in this picture. Is there is any solution for this problem????

0

There are 0 best solutions below