Regression: CGImageSource doesn't render background image of certain PDFs

Originator:oliver.drobnik
Number:rdar://45338633 Date Originated:17 Oct 2018
Status:Open Resolved:
Product:macOS SDK Product Version:10.14 (18A391)
Classification:Serious Bug Reproducible:Always
 
Area:
Core Graphics

Summary:

CGImageSource as of Mohave is no longer able to render the background images for certain PDFs coming out of Adobe Illustrator. This is a regression because on earlier macOS versions this worked fine.

Steps to Reproduce:

Build&run the provided sample app on Mohave

Expected Results:

- you should see the background image with the woman

Actual Results:

- you only see some text and boxes in the foreground, the background where the image with the woman should be, is left blank
- On the console you see the output:
   [Cocoanetics.CGImageSourcePDFBug] img_alphamerge_stage: Assertion failed - unknown source alpha


Version/Build:

macOS 10.14 (18A391)

Comments

The PDFs with which CoreGraphics has a problem with actually come out of Adobe InDesign CC2018, not Illustrator as I originally wrote.

By oliver.drobnik at Oct. 17, 2018, 5:34 p.m. (reply...)

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!