I'm implementing on a asp.net site (in vb.net)
Windows 7 x64 (with IIS7) gflax 2.82 and ghostscript 9.0.5 is ok:
Register the dll, add the reference to the web site, run the test page where I create a jpeg from first page of a pdf with this code
Code: Select all
Dim g As New GflAx.GflAxClass()
g.EpsDpi = 72
g.Page = 1
g.LoadBitmap(file)
g.Resize(90, 120)
g.SaveFormat = GflAx.AX_SaveFormats.AX_JPEG
g.SaveJPEGQuality = 100
g.SaveBitmap(output_file)
On the production server I installed the same version of Ghostscript and registered the same version of gflax (2.82), but when I run the test page I get the following error:
Unknown format
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Unknown format
if someone could help me I would be very happy
PS: Sorry for my poor english