Hello,
I want to change background color of image as i can with Photoshop Express App function Dappled. It can change grey background color to blue without "change foreground" color (text, frame). I wanna duplicate this effect and with more colors (In PSE app i only find to blue).
Original File:
PSE file:
My try with IM +level-colors blue
Change background color
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change background color
See the "+level" documentation at http://www.imagemagick.org/script/comma ... .php#level
It takes two colours, for the black point and white point. Your command changes black to blue. But I think you want black to stay black, and change white to light blue, eg #ddf:
It takes two colours, for the black point and white point. Your command changes black to blue. But I think you want black to stay black, and change white to light blue, eg #ddf:
Code: Select all
magick bard-1.png +level-colors black,#ddf out.png
snibgo's IM pages: im.snibgo.com
Re: Change background color
So I was one step from complete T_T . Thank you very much.
Re: Change background color
One more question:How to not colorize alpha channel(edge of card)? I want to print all cards (about 350), its waste of toner. I tried alpha off, but didnt work. When I look at base card in Photoshop, it look like there is no alpha channel, but edges are transparent.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change background color
You can restrict operations to just the RGB channels:
Code: Select all
magick bard-1.png -channel RGB +level-colors black,#ddf +channel out.png
snibgo's IM pages: im.snibgo.com