gdtiti / purepdf

Automatically exported from code.google.com/p/purepdf
0 stars 0 forks source link

ImageElement.getInstance() is slow #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sometimes the instruction:
_imageElement = ImageElement.getInstance(_byteArray);
takes a lot of time
2. I attached an example of a picture loading very slow

What is the expected output? What do you see instead?
I expect a faster load for some cases that are very slow

What version of the product are you using? On what operating system?
purePDF_0.77.20110116 on Mac OS X 10.7.3

Please provide any additional information below.

Original issue reported on code.google.com by rodrigue...@gmail.com on 8 Feb 2012 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
It seems to be related to png images with alpha channel.

Original comment by rodrigue...@gmail.com on 8 Feb 2012 at 1:52

GoogleCodeExporter commented 9 years ago
I followed the example named BitmapDataTransparency, and now it works fine.
Thank you

Original comment by rodrigue...@gmail.com on 9 Feb 2012 at 8:24