Mobile app version of vmapp.org
Login or Join
Rambettina927

: Change opacity of image similar to CSS In CSS, you can modify an image like this: background: rgba(63, 70, 108, 0.7) url(/image.jpg) no-repeat; I'd like to modify image.jpg to create image2.jpg

@Rambettina927

Posted in: #Css #Images #Mac #Opacity

In CSS, you can modify an image like this:

background: rgba(63, 70, 108, 0.7) url(/image.jpg) no-repeat;


I'd like to modify image.jpg to create image2.jpg so that it looks the same way as presented by the browser. I.e., I'd like to be able to do this:

background: url(/image2.jpg) no-repeat;


and have the same exact result as before.

The reason is that changing the opacity of the image in css causes other problems.

I'm on mac so would be great to have a mac specific solution.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina927

1 Comments

Sorted by latest first Latest Oldest Best

 

@Correia448

I was able to do this using Gimp on Mac:


Loaded my image into a first layer and set opacity t0 30%.
Added a second layer with the desired background color.
Export to jpg.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme