title: Issue using ImageIO.write jpg file: pink background
body: <p>I'm using the following code to write a jpg file:</p>
  
  <pre><code>String url="http://img01.taobaocdn.com/imgextra/i1/449400070/T2hbVwXj0XXXXXXXXX_!!449400070.jpg";
  String to="D:/temp/result.jpg";
  ImageIO.write(ImageIO.read(new URL(url)),"jpg", new File(to));
  </code></pre>
  
  <p>But I get the <code>result.jpg</code> is a pink background image:</p>
  
  <p><img src="https://i.stack.imgur.com/jNVm0.jpg" alt="alt text"></p>