I have installed GFLAx (ActiveX/ASP component) v2.54 on my server, and am trying to convert some simple images into png format. However, for some reason I am receiving the following error:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'SaveFormatName'
This is my code -
Code: Select all
With ctrl
.EnableLZW = true
.LoadBitmap ImagePath
Response.Write("Format: " & .SaveFormatDescription & "<br>")
Response.Write("width: " & .width & "<br>")
.SaveFormatName "png"
.SaveFormat 3 ' png format
.ChangeColorDepth 256
.SavePNGCompression 7
.SaveBitmap(NewImagePath)
end with