It would be nice if Prince supported the css property "object-fit" for images
Forum › Feature requests
object-fit
+1 for this... it would be really useful when designing layouts where the exact aspect ratio of the input images is unknown, but the result must fit in a box of an exact shape.
True it can be hacked around by using background-size, but that involves modifying the HTML – a CSS-only solution would be nice.
Any chance of getting object-fit onto the roadmap...?
True it can be hacked around by using background-size, but that involves modifying the HTML – a CSS-only solution would be nice.
Any chance of getting object-fit onto the roadmap...?
Edited by imperator
We had another request for this.
Try DocRaptor - PrinceXML web service and official PrinceXML partner