In one test PDF, four renderers agreed on the ordinary group and the isolated group, then split into two camps on knockout groups and on non-isolated groups with a blend mode. Pipelines that turn user PDFs into PNG or JPG can end up with different pixels depending on which camp the renderer is in.
What was measured
One hand-written 4-page PDF with no third-party material, rendered at 216 DPI on one Apple-silicon Mac, each renderer run once. Page 4 holds four groups on a yellow backdrop (255,255,0). Each group is a form XObject with a red square and a blue square that overlap. D1 is an ordinary group, Normal at 50%. D2 is a knockout group (/K true), also Normal at 50%. D3 is an isolated group (/I true) with Multiply. D4 is neither isolated nor knockout, with Multiply.
The renderers were Ghostscript, poppler's pdftoppm, pdf.js running in a browser, and the macOS system rendering framework, which is the same one Preview uses (that sameness is an inference; Preview itself was not used to export anything).
The pixels
The snippet renders page 4 with Ghostscript and reads three points. The same three points were read from the pdf.js and macOS renders, which are not shown in the code.
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=png16m -r216 \ -dFirstPage=4 -dLastPage=4 -sOutputFile=k-4.png t.pdf # D2 overlap (114,90); D3 blue-only (207,50); D4 blue-only (281,50) The output of the full snippet, one reading per renderer and point, laid out as a table (the file-name header lines are left out, and so is the alpha value, 255 in all nine):
| Point | Ghostscript | pdf.js | macOS system renderer |
|---|---|---|---|
| D2 knockout, overlap | 127,127,128 | 127,63,128 | 127,63,128 |
| D3 isolated + Multiply, blue-only | 0,0,255 | 0,0,255 | 0,0,255 |
| D4 non-isolated + Multiply, blue-only | 0,0,0 | 0,0,255 | 0,0,255 |
pdftoppm also matched the expected values at all three points (127,127,127 at the D2 overlap), and pdftocairo gave the same readings as pdf.js. Across all 42 sample points in the file, pdftoppm and Ghostscript matched 42 of 42, pdftocairo and pdf.js 40 of 42, and the macOS renderer 37 of 42. The macOS misses include three more points that belong to a different feature (an image soft mask with /Matte), so only D2 and D4 are the shared failure.
The figure stacks the four renderers' renditions of page 4 over the yellow backdrop. Look at the second and fourth column of the pdf.js and macOS rows: in D2 the overlap is purple, while the Ghostscript and pdftoppm rows show a flat grey there, and in D4 the blue-only part stays blue where the top two rows show black.
What the expected values come from
The expected numbers are a hand calculation, so they are arithmetic and not a reading. In a knockout group, the blue square composites against the group's starting backdrop, which is the yellow, and ignores the red under it. Blue at 50% over yellow is about 128,128,128. Treated as an ordinary group, the blue goes over the already-tinted red, which gives about 128,64,128. Ghostscript's 127,127,128 and the 127,63,128 from the other two are each within one level of those.
D4 is the same kind of arithmetic. A non-isolated group lets Multiply see the page backdrop, so blue times yellow is 0,0,0. An isolated group starts empty, so Multiply has nothing to multiply with and the blue stays 0,0,255.
No spec text is quoted here. These expectations rest on the compositing rules as understood when the test was written. Ghostscript and pdftoppm agreeing with them is evidence for that reading, not a proof.
What the data suggests, and what it does not
The pattern fits one explanation: pdf.js and the macOS renderer treat every group as isolated and non-knockout. That would produce the purple overlap in D2 and the blue in D4, and D1 and D3 are exactly the cases where the shortcut makes no difference. That is an inference from the outputs; no renderer's source was read.
Two things the numbers do not say. They do not say which camp a given reader or browser falls into, since Acrobat and Chrome's built-in viewer were not tested. They also do not say real files hit this often. The test PDF is a minimal hand-built example, and files exported from Illustrator or InDesign have more complicated groups.
One consequence is solid, though. pdf.js and the macOS renderer agree with each other and disagree with the other two, so "matches what a reader shows" and "matches the spec" are different goals here. Which one a pipeline needs depends on whether the output is compared to a reader's view or to a print-style reference.
Check before choosing a renderer
If a file might use these features, searching the PDF for /K true, /BM and /SMask (after expanding compressed object streams, for example with qpdf) tells you in a few seconds whether the features that split the renderers are present at all.
For reference, ImgIng https://imging.ai/ , a browser tool that converts PDF pages to images locally at 144, 216 or 300 DPI, exported PNG with transparent blank areas and JPG on white in the page-one test.
Not tested: CMYK, soft masks with transfer functions, text knockout, other blend modes, Windows renderers, and real exported files.