As you can see, the images are absolutely positioned and layered on top of each other. I have seen references in past Aspose PDF forum posts to absolutely positioned images, but the output does not seem to support it. Using the following code:
hi there, try to convert position style from ‘absolute’ to ‘relative’(change the ‘top’ attribute mainly), most of pdf convertors couldn’t handle absolute position, but relative.
xjdawu, thank you for the suggestion, but we need to position relative to the top left corner. Relative positioning positions the element relative to its normal position in the document flow. Even if it did render via Aspose, we need to set absolute coordinates.
We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for Java 9.3.1, we have managed to reproduce the reported issue of CSS position property and logged it in our bug tracking system as PDFNEWJAVA-34409 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.
Please feel free to contact us for any further assistance.
backprop: Specifically I’m wondering about transforms such as rotation, e.g.
Thank you.
Hi Chris,
Thanks for sharing details.
I am afraid the feature is currently not supported. For the sake of correction, I have logged it in our issue tracking system as PDFNEWJAVA-34413. We will investigate this issue in detail and will keep you updated on the status of a correction.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.