Page 1 of 1

problems with pdf files

Posted: Sun Dec 15, 2013 1:58 pm
by madiazg
Hi,
I'm trying to open a pdf file but always returns me the Error 6 (unknown format). I use version 3.92 of libgfl. The code (in Delphi) is as follows:

Code: Select all

gflGetDefaultLoadParams(mLoadOption);
mError := gflLoadBitmap(Pchar(FileNamePDF),mOriBitmap, mLoadOption, mInformation);
if mError =  GFL_NO_ERROR then
begin
  Label11.Caption := IntToStr(mInformation.NumberOfImages);
end else label11.Caption := 'Error: ' + inttostr(mError);
gflFreeBitmapData(mOriBitmap);
pdf file for example: https://mega.co.nz/#!cFczERbY!WQOF-krKw ... oPb8ACQL40

Can you tell me what is the problem?

Regards...
Miguel Angel

Re: problems with pdf files

Posted: Mon Dec 16, 2013 8:58 am
by xnview
do you have installed ghostscript?

Re: problems with pdf files

Posted: Thu Dec 19, 2013 9:04 pm
by madiazg
I have not installed. Do I need to install it?

Re: problems with pdf files

Posted: Fri Dec 20, 2013 9:35 am
by xnview
madiazg wrote:I have not installed. Do I need to install it?
yes