Yes, I did see your previous example and I have just tested it (sorry for the delay). On my machine it took ~12 seconds, which is a damn sight faster than what I have been using, and the quality is acceptable.fmw42 wrote:Did you see my comment above that if you use -compose blur and set one dimension to 0, it runs very quickly. I showed a result.
Most of your pictures did not show up. So I am not sure what you did in PS. Nevertheless, as above, you can achieve a similar result in a timely manner with -compose blur
I should point out that, while this machine isn't the fastest, the machine the command will ultimately be running on is a lot faster, but then it will be processing a lot more images, so the improvement in speed is important.
I'm sorry the pictures didn't show up, I wonder if other people can see them or if there is a problem with the image host I am using. Just for reference I will describe the steps for photoshop:
1) Open the source image and the mask image.
2) With the mask image visible use ctrl-a to marquee the entire image, then use ctrl-c. (or command-a etc...) to copy to the clipboard.
3) Switch to the source image and open the channels palette.
4) Create a new channel.
5) Select the new channel and use ctrl-v to paste the mask into it.
6) Hold ctrl and click the thumbnail for the new channel to produce a selection based on the mask.
7) Click the RGB channel to show the source image.
Go to Filters > Blur > Lens blur and apply a blur of, say, 50 pixels.
9) ctrl-d to clear the selection.
10) Done.