Faded effect

Discuss digital image processing techniques and algorithms. We encourage its application to ImageMagick but you can discuss any software solutions here.
Post Reply
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Faded effect

Post by xpt »

Hi,

How can I create a faded image from an existing image?

EDIT: The "faded" is the word that I had in my mind, better than "fainted".

By "fainted" I meant, deficient in magnitude; barely perceptible; lacking brightness, color and vividness. Just like a not-so-good-quality printed photo that fainted after long time exposure under the Sun. I can still see everything, but all the brightness, color, hue, vividness, etc etc are now barely perceptible.

How can I do that?

PS. You can use your own image to illustrate the effect, or this one,
http://img218.imageshack.us/img218/7626/ccard2.jpg

thanks
Last edited by xpt on 2010-12-25T12:33:25-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Fainted effect

Post by fmw42 »

try -modulate adjusting only the brightness and saturation, such as


convert ccard2.jpg -modulate 50,25,100 ccard2_mod_50x25x100.jpg


see http://www.imagemagick.org/Usage/color_mods/#modulate

I suspect you do not want to attenuate the brightness too much, but you may want to reduce the saturation even more

This may be more what you want.


convert ccard2.jpg -modulate 75,15,100 card2_mod_75_15_100.jpg
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Re: Fainted effect

Post by xpt »

fmw42 wrote:try -modulate adjusting only the brightness and saturation. . .
Thanks a lot for the swift respond.

I made the adjusted more lighter instead of darker, and I think I'm settled down with this for now:

Code: Select all

convert ccard2.jpg -modulate 190,60 ccard2_mod-190x60.jpg 
FYI, the effect will be:

org
Image

adjusted
Image
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Re: Fainted effect

Post by xpt »

xpt wrote:I made the adjusted more lighter instead of darker, and I think I'm settled down with this for now...
Well I found another way, which is more or less towards what I was expecting than using -modulate. Here is the result:

Image

I'll hold on to how I did for now. If you have an idea what I'm trying to do, could you do a better job than this?

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Faded effect

Post by fmw42 »

What command did you use?

Looks a bit like -colorize with white.

try

convert ccard2.jpg -fill white -colorize 50% ccard2_colorize50white.jpg

vary the colorize percent or the fill color
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Re: Faded effect

Post by xpt »

Thanks.

Put them into comparison,

Code: Select all

convert ccard2.jpg -fill white -colorize 50% ccard2_colorize50white.jpg
Image

Mine:

Image

Conclusion, Looks like that -colorize with white handles dark parts better (the hat), whereas mine yield richer result on the light part (look at the snowman and the highlight on it).

FYI, I chose the none-linear mid-tone 'gamma' adjustment:

Code: Select all

convert ccard2.jpg -level 0%,100%,3.5 ccard2_level_gamma.jpg
Thanks
Post Reply