Uploading images

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

reck
Posts: 1
Joined: Fri Jan 23, 2004 5:41 pm

Uploading images

Post by reck »

I use script asp PureUpload.asp for uploading images on my personal site

Is there some example script ASP to help me resize and save images with PureUpload.asp + GFLAx (v2.00) ?

thanks

Reck
(from Italy)
User avatar
xnview
Author of XnView
Posts: 45337
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Uploading images

Post by xnview »

reck wrote:I use script asp PureUpload.asp for uploading images on my personal site

Is there some example script ASP to help me resize and save images with PureUpload.asp + GFLAx (v2.00) ?

thanks

Reck
(from Italy)
No sorry
Pierre.
lazerfisk
Posts: 17
Joined: Wed May 05, 2004 3:00 pm
Location: Karlstad, Sweden

Post by lazerfisk »

This should be doable... If you can get the binary data from the upload component, you could insert it into GFL in the same manner as you do binary write:

Code: Select all

response.binarywrite gfl.sendBinary
Just do this instead:

Code: Select all

gfl.receiveBinary strBinaryData
And if you got your fingers crossed it works without any hassle. Then just resize it and save it... :)

Regards,
Christopher