O'Reilly logo

.NET Framework 4.5 Expert Programming Cookbook by A.P. Rajshekhar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chaining two parallelized bulk image processing operations

In the previous recipe, we saw how to parallelize a bulk image processing operation. However, what should be done if you wanted to do another parallelized operation just after the completion of the first one in continuation? The answer is chaining of operations. .NET provides you an option to chain multiple parallelized operations so that once an operation is complete, the next can be started without waiting for input or a command. In this recipe we will chain two operations, first, rotating all the images in a directory and saving them to a new location, and second, saving the rotated images under a new name after adding transparency to them.

How to do it…

  1. Launch Visual Studio 2012. Create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required