glamourizing a photo
Posted: 2009-06-19T15:34:01-07:00
I'd like to glamorize a photo using image magick commandline tools. The following algorithm is what I use in GIMP:
1. Make a duplicate layer.
2. Change the duplicate layer to Overlay mode.
3. Apply gaussian blur to the duplicate layer
4. Increase brightness of both layers by 15%
5. Flatten the image
6. Write it out
I tried doing this as follows (skipping step 4 for now):
convert -gaussian-blur 15 original.tif blurred.tif
convert original.tif blurred.tif -compose overlay glamour.tif
The problem is that glamour.tif has two images in it. I tried using -flatten but it doesn't work either.
Thanks in advance for any help.
--Michael
1. Make a duplicate layer.
2. Change the duplicate layer to Overlay mode.
3. Apply gaussian blur to the duplicate layer
4. Increase brightness of both layers by 15%
5. Flatten the image
6. Write it out
I tried doing this as follows (skipping step 4 for now):
convert -gaussian-blur 15 original.tif blurred.tif
convert original.tif blurred.tif -compose overlay glamour.tif
The problem is that glamour.tif has two images in it. I tried using -flatten but it doesn't work either.
Thanks in advance for any help.
--Michael