barryvdh / laravel-snappy

Laravel Snappy PDF
MIT License
2.63k stars 290 forks source link

Image opacity #453

Closed tibelchior closed 2 years ago

tibelchior commented 2 years ago

Hello, it doesn't matter what type of image I use, it is always displayed with a very low opacity.

download (2)

I read the configurations for wkhtmltoimage but there's nothing about image opacity. I also found someone else with the same problem on Stackoverflow, but the answers there doesn't fix this issue.

Is this a known problem or have I missed something?

alexhackney commented 2 years ago

@tibelchior what does the original image look like? Is it a transparent image? You would usually set opacity in the css for the view or html you're loading.

tibelchior commented 2 years ago

@alexhackney thanks for the reply, but there's no transparency in the original image. This only happens with the PDF.

alexhackney commented 2 years ago

@tibelchior weird, I just started using this package and haven't seen that yet.

Alex

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy. If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.