Experimental codes for handling images in C#