How Simple is That?

So how simple can you get?

Let's take a Photoshop file. Resize it so it fits within a 200 pixel square, put a frame round it and then save it out as a JPEG.

Dim im As New Canvas()
im.Width = 200
im.DrawFile("C:\pic.psp", "Fit=True")
im.DrawShape("rect", "Operation=draw")
im.SaveAs("C:\pic.jpg", "")

Setting the width constrains the size of the canvas so that when you ask ImageGlue to draw the Photoshop file fitted into the canvas, it shrinks it down to an appropriate size.

For the purposes of this example we used a Photoshop file. However we could have used a PDF, an EPS a Flash Movie or indeed any of the numerous file formats supported by ImageGlue. Just change the file name.

When you draw the rectangle the default size is the size of the canvas, so a frame is drawn round the inside of the canvas. When you save the canvas, ImageGlue looks at the file name you have given it and works out how to format the image.

You'll note that this code could have been written in either VB or VB.NET. We want to make life easy for you - ImageGlue .NET and ImageGlue ASP use practically identical object structures - so if you have one - migrating to the other is child's play.

There are many more examples of how to use ImageGlue included with the software. Download Software...