Replies: 6 comments 5 replies
-
Horizontal mirroring: <Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Record element="data">
<PlaceObject>
<Image width="3cm" file="ocean.pdf" />
</PlaceObject>
<PlaceObject>
<Transformation matrix="-1 0 0 1 0 0">
<Image width="3cm" file="ocean.pdf" />
</Transformation>
</PlaceObject>
</Record>
</Layout> Vertical mirroring (not quite what I expected) <Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Record element="data">
<PlaceObject>
<Image width="3cm" file="ocean.pdf" />
</PlaceObject>
<PlaceObject frame="solid" framecolor="green">
<Transformation matrix="1 0 0 -1 0 0">
<Image width="3cm" file="ocean.pdf" />
</Transformation>
</PlaceObject>
</Record>
</Layout> I need to look into what happens with vertical mirroring |
Beta Was this translation helpful? Give feedback.
-
Happy new year BTW! |
Beta Was this translation helpful? Give feedback.
-
To add: this is not my solution, just a thought. I am still thinking about a good interface. I am currently thinking about something like this: <Transformation mirror-h="yes" mirror-v="yes">
<Image width="3cm" file="ocean.pdf" />
</Transformation> |
Beta Was this translation helpful? Give feedback.
-
Just a note for me... <Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Pageformat height="20cm" width="7cm"></Pageformat>
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Original:</Value>
</Paragraph>
</Textblock>
</PlaceObject>
<PlaceObject>
<Image width="3cm" file="ocean.pdf" />
</PlaceObject>
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Mirror vertical:</Value>
</Paragraph>
</Textblock>
</PlaceObject>
<PlaceObject frame="solid" framecolor="green">
<Transformation mirror-y="yes">
<Image width="3cm" file="ocean.pdf" />
</Transformation>
</PlaceObject>
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Mirror horizontal:</Value>
</Paragraph>
</Textblock>
</PlaceObject>
<PlaceObject frame="solid" framecolor="green">
<Transformation mirror-x="yes">
<Image width="3cm" file="ocean.pdf" />
</Transformation>
</PlaceObject>
<NextRow />
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Mirror both axes:</Value>
</Paragraph>
</Textblock>
</PlaceObject>
<PlaceObject frame="solid" framecolor="green">
<Transformation mirror-x="yes" mirror-y="yes">
<Image width="3cm" file="ocean.pdf" />
</Transformation>
</PlaceObject>
</Record>
</Layout> |
Beta Was this translation helpful? Give feedback.
-
Now implemented in 4.19.37. |
Beta Was this translation helpful? Give feedback.
-
https://doc.speedata.de/publisher/en/basics/outputtingobjects/#ch-outputtingobjectds-flipping |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @pgundlach,
Happy new year! 🍾😁
I wonder if, for the next year, you could add an attribute mirror for the image tag, e.g.:
mirror="vertical/horizontal"
ormirror="x-axis/y-axis"
; meanwhile I am trying with the transformation matrix and, as last resort, just flipping the images... 😓See you next year! 😇
Beta Was this translation helpful? Give feedback.
All reactions