Image opacity option not working
See original GitHub issueI tried to use the opacity option with an image and is not working, if you open the file image in node_modules, you can see option.opacity declared but never used, but the documentation says you can use that property, in resume: it’s not working
pdf.image(path + fileName, 361, 326, { width: 600, height: 450, keepAspectRatio: true, opacity: 10, align: 'center center' });
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Background Image opacity not working [HTML/CSS]
I am trying to set my background image to opaque keeping the content clearly visible. So far what I have tried do not...
Read more >Solved: Transparency not Working on Image
Hi,. I uploaded an image to my app and I wanted to make it the background and make it a little more transparent...
Read more >How to change background-image opacity in CSS without ...
Quick solution to how you can change background-image opacity using CSS without affecting the text content or child HTML elements.
Read more >Elementor image transparency issues - WordPress.org
The setting for image opacity isn't in your theme settings though. If you open a page in Elementor and then click on the...
Read more >Opacity Slider on a layer not working
The opacity slider cannot be moved on a background layer. So in that case just click the lock symbol to turn it into...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh I see the where the issue is.
You called
.image
twice with different opacity setups. It is a bug that the xObject is cached so the opacity is locked to the first image.I can reproduce this bug with the following codes