I found a C# script to copy any irregular portion from an image (using free hand drawing) and put it on another image. I have never worked with C#. All I want is to copy the irregular part and save it as a new image with transparent background (png format) with fixed width and height, say 140x50. Can anyone make the necessary code changes and post here??

URL to the script: Click Here

instead of picDestination.Image = dest_bm;, try dest_bm.Save(@"path to save"). 'path to save' is the path to where you want to save the image.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.