speedata / xts

XML typesetting system
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Implement transparent PNG inclusion #20

Closed pgundlach closed 1 year ago

pgundlach commented 1 year ago

Included PNG files should be transparent.

non-transparent
<Layout xmlns="urn:speedata.de/2021/xts/en"
    xmlns:sd="urn:speedata.de/2021/xtsfunctions/en">
    <Record element="data">
        <PlaceObject>
            <Image href="{sd:file-contents(sd:decode-base64(.))}"></Image>
        </PlaceObject>
    </Record>
</Layout>

and data.xml from examples repository

pgundlach commented 1 year ago

done in the baseline-pdf backend