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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -