css - DOMPDF background color and image issue -


I got some issue with background in the DOMPDF. Please assume an element with both a color and image background.

When I try only with color or image, both works but when I want to, both, the background image works but the background color is black. I tried these syntax:

  Background: # ff000 url ('path / to / image'); // or background color: #FFFF; Background-image: url ('path / copy / image');   

The result is the same I tried to check the HTML render without PDF and obviously it works. Element is a div picture is a transparent PNG.

EDIT: After this post I thought of something: Does the IPDF also support transparency in PNG for background?

dompdf v0.5.1 Alpha does not support transparency Most recent release () does, as you do Can see here.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -