title: How to save inversed DCT image
body: <p>Here is the code:</p>
  
  <pre><code>imshow(idct2(CDCT),[0 255])
  i=idct2(CDCT),[0 255];
     imwrite(i,'fa.tif');
  </code></pre>
  
  <p>When I display the image, it works fine. But only white image with few black lines is saved (incorrect image). Please tell what I am doing wrong. :)</p>