Setting Background Color of Image not working
See original GitHub issueExpected Behavior
Color the Image Background to specified color
Current Behavior
Image Background doesn’t change color
Failure Information (for bugs)
No Error
Steps to Reproduce
- Read Image
- Set Background color
- Write to File
return Jimp.read('app/background.png')
.then(image => {
image.background(0x0012faff);
})
.then(image => {
return image.writeAsync(`app/new-${(new Date()/1000)}.png`);
})
Context
- Jimp Version: 0.6.0
- Operating System: Mac Mojave
- Node version: 7.0.0
Failure Logs
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
CSS: background image on background color - Stack Overflow
This work fine so far. The problem is now that I can't display the small sign and make the panel blue at the...
Read more >How to fix CSS background-image not working | HTML/CSS
1. Check that your CSS file is linked correctly in your HTML file. · 2. Make sure the image path is set correctly...
Read more >background-color - CSS: Cascading Style Sheets | MDN
The background-color CSS property sets the background color of an element.
Read more >Changing your Virtual Background image - Zoom Support
If you are experiencing issues with Virtual Background, try the following troubleshooting tips: ... Manually pick the background color to ensure ...
Read more >Background images with HTML & CSS - YouTube
In this video, I look at how to set a background image, problems people run into with them and how to fix them,...
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 FreeTop 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
Top GitHub Comments
Noticed the same issue here.
I know it’s been a while here, but I’m also running into this issue. Have an image with a transparent background and calling
.background()
doesn’t seem to change anything