title: PNG to JPG Java ImageIO problem
body: <p>I have tried both lines of code below to no avail.  The code works fine with jpg, or gif but turns the image pink if a png.</p>
  
  <pre><code>ImageIO.write(input, "jpg", profileFile);
  
  RenderedOp op = JAI.create("filestore", input, pFileName, "jpeg");
  </code></pre>
  
  <p>Anyone else run into this problem?  I haven't been able to find a solution.</p>