Heads up: "opacity: 0.3;" vs "filter: opacity(30%)"
-
After upgrading from v4.3 to v4.7 some images on my cover page disappeared.
It took some tinkering to solve this, so I'll post here for others to avoid the same pit fall.I don't know how many of the requisites has to be true to get into this trouble. My setup:
- the cover page is based on css grid
- images are laid out witout margins, i.e. all the way to the edge of the page
- some images had
opacity: 0.3;
via css class - the cover page is prepended via PDF Utils
If I render the cover page separately, all images are rendered. But when the cover page is rendered via PDF Utils and prepended to my report, the images disappear.
After changing
opacity: 0.3;
tofilter: opacity(30%);
everything seems to work as it should. I'm happy that it works now but I don't understand why it broke in the first place.
-
Don't you have the pdf/a or pdf/ua enabled in the pdf utils options?
I have no theory why would the pdf utils could break it otherwise. Maybe you can create minimal exprt so we can check it.