A
A
Arion2011-08-24 14:54:23
bash
Arion, 2011-08-24 14:54:23

Imagemagick connoisseurs?

Help make a vintage effect on ImageMagick. To end up with something like this:
3_252_11.jpg
Here is a tutorial on how to do this in Gimp, and here is a script-fu for the same Gimp.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
korvindest, 2011-08-28
@Arion

I thought I would solve your problem in a couple of hours, but I spent almost a whole day.
Apparently I'm not quite an IM connoisseur yet.
Here is the prescription:

convert -contrast-stretch 21 -quality 100 sample_src.jpg sample_contrast.jpg

convert -modulate 100,111,95 sample_contrast.jpg sample_hue_sat.jpg


convert sample_hue_sat.jpg -channel red -separate sample_red.jpg

convert sample_hue_sat.jpg -channel green -separate sample_green.jpg
convert sample_hue_sat.jpg -channel blue -separate sample_blue.jpg

#в преобразовании цветовых каналов используеться полиномная кривая в интервале от 0 до 1

convert sample_red.jpg -function Polynomial '-2.63585, 3.49452, 0.14132, 0' sample_red_level.jpg
convert sample_green.jpg -function Polynomial '-0.4, 0.3, 1, 0' sample_green_level.jpg
convert sample_blue.jpg -function Polynomial '0.72549, 0.13725' sample_blue_level.jpg 


convert sample_red_level.jpg sample_green_level.jpg sample_blue_level.jpg -channel RGB -combine sample_level_result.jpg

convert -modulate 100,68,91 sample_level_result.jpg sample_level_result_hue_sat.jpg
convert sample_level_result_hue_sat.jpg -background black -vignette 0x5  sample__happy_end.jpg

The only thing I didn't have time to finish was darkening around the edges.
If necessary, I will add tomorrow and answer the questions that have arisen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question