Hi all,
I'm using GdPicture rel. 8.5 and I have some trouble loading a PDF file.
Its size is only 259KB and my application spends about 2 minutes to render this file!
I tried to do the same using one of your sample (Csharp-OCR.csproj) and these are the times:
--- Start GdViewer1.DisplayFromFile: 04/03/2013 10:37:05
--- End GdViewer1.DisplayFromFile: 04/03/2013 10:37:55
--- Start gdPDF.RenderPageToGdPictureImage: 04/03/2013 10:37:55
--- End gdPDF.RenderPageToGdPictureImage: 04/03/2013 10:38:56
For other biggest files the same operation is very fast.
During RenderPageToGdPictureImage operation the process in Windows TaskManager occupies a large slot in memory.
I converted the same file with PDFCreator, and load operation is immediate (less than 1 second).
I upload the two files in a zip.
Please can you check these files and tell me where is the problem?
Thanks in advance.
Michela
RenderPageToGdPictureImage very slow...
RenderPageToGdPictureImage very slow...
- Attachments
-
- RenderTest.zip
- Two file samples
- (223.21 KiB) Downloaded 282 times
Re: RenderPageToGdPictureImage very slow...
Hello,
This performance leak has been fixed in the 9.4.
With best regards,
Loïc
This performance leak has been fixed in the 9.4.
With best regards,
Loïc
Re: RenderPageToGdPictureImage very slow...
Thanks for the answer.
Can you can explain me what are the differences between the two files that generate this problem?
So I can do some preventive checks to the file I'm processing.
Thank you again.
Michela
Can you can explain me what are the differences between the two files that generate this problem?
So I can do some preventive checks to the file I'm processing.
Thank you again.
Michela
Re: RenderPageToGdPictureImage very slow...
Hello Michela,
Basically, one fine is embedding too much font information that is needed. In PDF font can contain a max number of 256 characters. In your file the font file includes 65535 chars.
Kind regards,
Loïc
Basically, one fine is embedding too much font information that is needed. In PDF font can contain a max number of 256 characters. In your file the font file includes 65535 chars.
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest