LoadBitmap slow in vb webservice

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

Moderators: XnTriq, xnview

branton1
Posts: 1
Joined: Wed May 23, 2012 10:19 am

LoadBitmap slow in vb webservice

Postby branton1 » Wed May 23, 2012 10:33 am

Hello

I recived this code from a collegue and it works fine when converting a pdf to a png in a simple visual studio form.

The problem is that I need to use the code on my webservice.

The problem is when I step through the code and execute the LoadBitmap(file) it just keep loading and no error comes up.

Here is the code I am using.

Dim g As New GflAx.GflAx
g.EpsHeight = 200
g.EpsDpi = 100
g.Page = 1
g.UseTransparency = True
g.LoadBitmap(fil.FullName)
g.SaveFormat = AX_SaveFormats.AX_PNG
g.SaveBitmap(pngfil.FullName)

I am currently using gflax version 2.82 with ghostscrip 8.64.

I am confident that their is no problem with my file as when I run the code on a simple form it works. (note: pdf is created using pdflib)

Is their any extra references that I need when using gflax with a webservice.

Any suggestions will help.
Thanks Liam

User avatar
xnview
Author of XnView
Posts: 27694
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: LoadBitmap slow in vb webservice

Postby xnview » Wed May 23, 2012 11:11 am

gflax is registered?
Pierre.


Return to “GFL SDK”

Who is online

Users browsing this forum: No registered users and 1 guest