CGImageSourceCreateIncremental and progressive JPEG

Originator:benjamin
Number:rdar://14002902 Date Originated:28-May-2013
Status:Open Resolved:No
Product:iOS SDK Product Version:5+
Classification:Enhancement Reproducible:Always
 
28-May-2013 08:47 PM benjamin GODARD:
Summary:
When dealing with a progressive JPEG image, CGImageSourceCreateIncremental is unable to create a partial representation of the image, so we can't achieve a progressive display of such an image. Standard JPEG work fine.
Interlaced PNG also work fine.

Steps to Reproduce:
Create an imageSourceRef and download a progressive JPEG image, then try to display it progressively in a UImageView for example.

Expected Results:
Image displaying progressively, a bit like an interlaced PNG.

Actual Results:
Image is displayed only when all the data are here.

Regression:
-

Notes:
- Sample code provided with several image URLs

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!