6 Replies Latest reply on Jul 25, 2014 6:03 AM by ACS LLC

    Problem with CFimage / PNG images

    ACS LLC Level 1

      I have a problem saving PNG images from another server, for example itunes, some work, some don't


      The following image will open fine in my browser ->

      http://a576.phobos.apple.com/us/r30/Purple/v4/de/60/bb/de60bb7f-8995-4007-cfec-1b0a472fa36 7/icon.png


      This is the error I am receiving:


      An exception occurred while trying to read the image.

      javax.imageio.IIOException: Error reading PNG metadata



      <cfimage source="http://a576.phobos.apple.com/us/r30/Purple/v4/de/60/bb/de60bb7f-8995-4007-cfec-1b0a472fa36 7/icon.png" overwrite="true"  destination="#filepath#/9999.png"

          action = "write">


      I believe some images have malformed/incorrect headers. I'm guessing this is a CF issue (I use CF8), because it loads fine in a browser.


      Anybody have a solution to this? Maybe an alternative way to retrieve the image? Custom tag?