Page 1 of 1
help using gflax
Posted: Tue Jun 21, 2005 12:25 am
by ruthless
Where are all the command available for manipulating an image in ASP using GFLAX.
I checked Help.chm
It's really hard to follow it. I would really appriciate any help
I am trying to resize a image and then center align it if the input image is small and the final canvas is bigger.
Also how do you sharpen the image?
set PGFLAx = server.createobject("GflAx.GflAx")
PGFLAx.EnableLZW = True
PGFLAx.LoadBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junk.jpg")
response.write "width = " & PGFLAx.Width
response.write "<br />height = " & PGFLAx.Height
PGFLAx.Sharpen 'this gives an error
PGFLAx.SaveFormat = AX_JPEG
PGFLAx.SaveJPEGQuality = 100
PGFLAx.SaveBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junkout.jpg")
Re: help using gflax
Posted: Tue Jun 21, 2005 3:03 pm
by xnview
ruthless wrote:Where are all the command available for manipulating an image in ASP using GFLAX.
I checked Help.chm
It's really hard to follow it. I would really appriciate any help
I am trying to resize a image and then center align it if the input image is small and the final canvas is bigger.
Also how do you sharpen the image?
set PGFLAx = server.createobject("GflAx.GflAx")
PGFLAx.EnableLZW = True
PGFLAx.LoadBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junk.jpg")
response.write "width = " & PGFLAx.Width
response.write "<br />height = " & PGFLAx.Height
PGFLAx.Sharpen 'this gives an error
PGFLAx.SaveFormat = AX_JPEG
PGFLAx.SaveJPEGQuality = 100
PGFLAx.SaveBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junkout.jpg")
Could you send me your picture?
Re: help using gflax
Posted: Tue Jun 21, 2005 4:27 pm
by ruthless
xnview wrote:ruthless wrote:Where are all the command available for manipulating an image in ASP using GFLAX.
I checked Help.chm
It's really hard to follow it. I would really appriciate any help
I am trying to resize a image and then center align it if the input image is small and the final canvas is bigger.
Also how do you sharpen the image?
set PGFLAx = server.createobject("GflAx.GflAx")
PGFLAx.EnableLZW = True
PGFLAx.LoadBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junk.jpg")
response.write "width = " & PGFLAx.Width
response.write "<br />height = " & PGFLAx.Height
PGFLAx.Sharpen 'this gives an error
PGFLAx.SaveFormat = AX_JPEG
PGFLAx.SaveJPEGQuality = 100
PGFLAx.SaveBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junkout.jpg")
Could you send me your picture?
Here is the picture

The error I get while using .Sharpen is
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'Sharpen'
Can you kindly let me know where I can find all the available ASP commands like "SaveJPEGQuality", SaveFormat
I wanted to have a image center aligned. I tried ".ResizeCanvas defaultSize, defaultSize, GFL_CANVASRESIZE_CENTER, RGB(0,0,0)" on an image and it did not resize it to the center, instead it was left aligned.
Re: help using gflax
Posted: Tue Jun 21, 2005 4:31 pm
by xnview
ruthless wrote:xnview wrote:ruthless wrote:Where are all the command available for manipulating an image in ASP using GFLAX.
I checked Help.chm
It's really hard to follow it. I would really appriciate any help
I am trying to resize a image and then center align it if the input image is small and the final canvas is bigger.
Also how do you sharpen the image?
set PGFLAx = server.createobject("GflAx.GflAx")
PGFLAx.EnableLZW = True
PGFLAx.LoadBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junk.jpg")
response.write "width = " & PGFLAx.Width
response.write "<br />height = " & PGFLAx.Height
PGFLAx.Sharpen 'this gives an error
PGFLAx.SaveFormat = AX_JPEG
PGFLAx.SaveJPEGQuality = 100
PGFLAx.SaveBitmap Server.MapPath("/wwwroot/gflax/Examples/ASP/test/junkout.jpg")
Could you send me your picture?
Here is the picture
The error I get while using .Sharpen is
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'Sharpen'
Can you kindly let me know where I can find all the available ASP commands like "SaveJPEGQuality", SaveFormat
I wanted to have a image center aligned. I tried ".ResizeCanvas defaultSize, defaultSize, GFL_CANVASRESIZE_CENTER, RGB(0,0,0)" on an image and it did not resize it to the center, instead it was left aligned.
All methods are in GflAX-Help.chm, could you send me a private mail, so i send you the current beta.
Posted: Tue Jun 21, 2005 5:11 pm
by ruthless
e-mailed

Posted: Tue Jun 21, 2005 5:13 pm
by ruthless
The email bounced... over quota. I pm'ed you.
Also please ignore ".ResizeCanvas defaultSize, defaultSize, GFL_CANVASRESIZE_CENTER, RGB(0,0,0)" and also ".Sharpen"
Posted: Tue Jun 21, 2005 8:56 pm
by xnview
ruthless wrote:e-mailed

You use the PM from forum??
Posted: Wed Jun 22, 2005 12:46 am
by ruthless
xnview wrote:ruthless wrote:e-mailed

You use the PM from forum??
I had e-mailed you at pierre.g {at} wanadoo {dot} fr. That e-mailed bounced. I then just pm'ed you on this boards.