funcode.net logo

Creators of fun iPhone and iPod Touch applications

ImageComposer (.NET Library)

DOWNLOAD

What is ImageComposer and why should I use it? 

ImageComposer is a simple .NET libary that I created to fulfill a specific need, and I found it to be so useful that I want to release it to the public in case anyone wants to use it.  It has a very simple API which lets you add a bunch of images to a composition and save the combined image to a file.

For example, the following code will combine 3 images (cellphone.png, beaniehat.png, and redball.png) into a single composite image, positioning and scaling as necessary:

using (ImageComposer imageComposer = new ImageComposer())
{
    imageComposer.AddImage("cellphone.png", 0, 0, 94, 94);
    imageComposer.AddImage("beaniehat.png", 0, 20);
    imageComposer.AddImage("redball.png", 400, 100, 120, 120);
    imageComposer.Save("combinedimage.png");
}

Source images:

beaniehatcellphoneredball

Composite image:

combinedimage

What does it require?

What does it not support?

For any questions/issues/praise/etc., please send mail to support@funcode.net