I'm trying to build a web application where in I need to overlay multiple images onto one background for which I'm using combiner.ApplyMaskTransform function.

Everytime, when I try to do so, the system runs into 100% CPU usage and takes close to 3-4 minutes to combine the images. Is this normal? If not could anyone point me what I need to change to have the process completed faster.

'Photos for the collage. Dim photo1 As New Aurigma.GraphicsMill.Bitmap(usrFileName) combiner.SourceBitmap = photo1

' m_num is the number of the images that need to be overlayed. values are read from database Dim i As Integer For i = 0 To (m_num -1) 'Combine with the image. combiner.SourceRectangle = New System.Drawing.RectangleF(0, 0, photo1.Width, photo1.Height) combiner.DestinationRectangle = New System.Drawing.RectangleF(hold_x.Item(i), hold_y.Item(i), hold_wd.Item(i), hold_ht.Item(i)) combiner.ApplyMaskTransform(background, mask) Next tmpFile = fileUploadPath & "\Temp\" & GetTempFileName() & "_collage.jpg" background.Save(tmpFile)

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.