title: Compress JP2 (JPEG2000) image with a high compression level
body: <p>After reading Image from database, I need to convert that Image to JP2 (JPEG2000)</p>
  
  <p>Update:</p>
  
  <p>I used FreeImage to convert the image to JP2</p>
  
  <pre><code>   // Load bitmap           
     FIBITMAP dib = FreeImage.LoadEx(imageName);
  // Check success
  if (dib.IsNull)
  {
      MessageBox.Show("Could not load Sample.jpg", "Error");
      return;
  }    
  
  // Convert Bitmap to JPEG2000 and save it on the hard disk
  FreeImage.Save(FREE_IMAGE_FORMAT.FIF_JP2, dib, "Image.jp2", FREE_IMAGE_SAVE_FLAGS.DEFAULT);
  
  // Unload source bitmap
  FreeImage.UnloadEx(ref dib);
  </code></pre>
  
  <p>Now, I need to compress this image with a high compression level!</p>