Rank: Member
Groups: Member
Joined: 8/30/2004(UTC) Posts: 12
|
Hi, I am using GM to handle many images in a single Asp script. How can I close the image, without closing the object ? ex : Code:Set Image = Server.CreateObject("GraphicsMill.Bitmap")
do while not i = 100
image.loadfromfile(i.jpg)
Image.SaveToFile(i.jpg)
' Image.close ??
i = i + 1
loop
Set Image = nothing
Is there an existing kind of Image.close method ? I want to be sure that all the images are close before they are getting saved. This method returns an error. Thanks by advance Etienne Edited by user Monday, December 24, 2007 4:54:42 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Etienne, I think Bitmap.Unload method is what you need. Edited by user Tuesday, December 15, 2009 10:24:09 AM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Member
Joined: 8/30/2004(UTC) Posts: 12
|
|
|
|
|
Forum Jump
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.