random b&w image grain
Tuesday, May 15th, 2007When I convert images to B&W, I often add some artificial film grain to the image. When I do this by hand, I usually just grab a section of the grain source randomly and hardlight screen the original image with it. Tonight I needed to batch add grain to a number of B&W images and I didn’t want the grain to look consistent among them. After the jump is a perl script that selects a random source-image-sized selection of a grain source and hardlight screens the source image with it. This is done via imagemagick command line utils.