Skip to main content
Participating Frequently
April 11, 2017
Question

Raw pdf code expressing a radial or linear TRANSPARENCY set on the fill of a vector object.

  • April 11, 2017
  • 1 reply
  • 596 views

Searching for a working example in raw pdf code (following Adobe pdf specs) expressing a radial or lineair TRANSPARENCY set on the fill of a vector object

without the need to apply a bitmap-related transparency construct.

Picture below shows for example a group of fills whereby a radial transparency has been added at group level. It's quite hard to develop corresponding raw pdf code which actually displays corresponding picture without using a bitmap construct as replacement in pdf output. Basically my question is whether or not and how it is possible in raw pdf code to set a radial or linear TRANSPARENCY on a fill without having to generate a bitmap as replacement. Would love to see a working example which puts me on the right track. Thank you for reading my post. Regards, Jac.

    This topic has been closed for replies.

    1 reply

    Legend
    April 11, 2017

    Are actually generating a low level PDF by reference to ISO 32000-1? If so, there's a different forum where you could get into discussion of the 100 pages or so devoted to transparency. PDF Language and Specifications . This is no longer an Adobe spec, and Adobe don't offer help on it directly.

    Transparency gradients would usually be done by applying a greyscale SMask. It's possible to generate an SMask from any content, but in general it's just raster data. But if you really wanted to the SMask could have a radial shading fill in greyscale.

    Participating Frequently
    April 11, 2017

    Thank you for answering. Discussion with raw PDF code included continues in PDF Language and Specifications .