Possible BUG export pdf color space + dimenions

possible issue with rhino pdf export. When i drag pdf to photoshop and open as image i get this error. i attach the pdf below

when i check the pdf in acrobat it has a color space

but it fails to load. I need to execute Ghostscript to force RGB with sRGB Color Space Profile.icm or CoatedFOGRA39.icc [CMYK]

01.3 - Z.pdf (213.9 KB) gives error > pdf as direct print with Rhino PDF (not the adobe one)

01.3 - Z_trim_sRGB.pdf (214.9 KB) this modified versio works

ANother thing is when i open the pdf as Pages, it won’t open with correct image size dimensions (should be 123.02 x 2702 as can be seen in rhino print menu)

Or is this all photoshop related?

To add another wrinkle to this.. your error pdf (01.3 - Z) opens fine in Bluebeam.

I’ve identified the issue and have some workarounds.

Thanks for reporting RH-95329 JFIF/YCbCr vs. DeviceRGB mismatch

Photoshop tries to interpret the raw decoded DCT components as RGB directly (as the PDF says), but the data is actually YCbCr, producing a conflict it refuses to resolve.

Workarounds…

  • Open in Bluebeam → Save As → PDF — Bluebeam will rewrite the image stream correctly on export, resolving the conflict.
  • Flatten via Acrobat → Save As Optimized PDF — Acrobat’s PDF optimizer will re-encode the image with consistent color space declarations.
  • Re-encode the JPEG to strip the JFIF header — The JFIF APP0 marker is what triggers YCbCr interpretation. If you re-save the JPEG without it (i.e., as a bare RGB JPEG with an APP14 Adobe marker declaring color_transform = 0), the DeviceRGB declaration in the PDF becomes correct. You can do this with ImageMagick: convert img.jpg -colorspace RGB -define jpeg:color-transform=false out.jpg and then rebuild the PDF.
  • In Photoshop itself — instead of opening the PDF, place it as a smart object or use File → Place Embedded, which sometimes bypasses the strict color space check.

never heard of it, i’ll check it pout.

since i need to export 100+ layouts to pdf, i created a small python code to load the load the pdf and convert it using installed Ghostscript, a suite used to interpret and convert PostScript, PDF, and image files on Windows

Can you post a sample 3dm file that is used to create these “bad” PDFs?

Thanks,
-Steve