Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
etienne  
#1 Posted : Monday, August 30, 2004 5:34:00 PM(UTC)
etienne

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

Fedor  
#2 Posted : Monday, August 30, 2004 6:28:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

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
etienne  
#3 Posted : Monday, August 30, 2004 6:39:00 PM(UTC)
etienne

Rank: Member

Groups: Member
Joined: 8/30/2004(UTC)
Posts: 12

Thank you fedor
Users browsing this topic
Guest
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.