bgarrels / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

loading images by URL #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
*** This issue was imported from http://java.net/jira/browse/XHTMLRENDERER-253

It was reported by boomzack on 26.08.2008 10:45:05 +0200 and last updated in 
the previous bug tracker on 09.03.2009 20:57:11 +0100

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Major.

Original description: 
We decided to use FS for Reporting in our Media Asset Management System.
The problem is, that we load images by URLs from Application-Server/Databases,
and every time we want to consume, we have to check a lot of autorisation..., so
it is not the fastest way to get images.

But FS/iText consumes one image 4 Times before printing it to pdf. So the
performance of our System is only about "10 Thumbnails" per Second.

I could participate the project and fix this bug,
greetings, edgar

Original issue reported on code.google.com by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
peterbrant wrote on 06.09.2008 20:54:47 +0200:
Please do attach a patch if you have one.  Resource handling is, in general, one
of the more immature parts of FS and we're happy for any improvements.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
pdoubleya wrote on 09.03.2009 20:57:11 +0100:
Need a sample case to work with; requires work in the UserAgent, probably along
with 257 and 258.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
Attached is a fix that will re-use the Inputstream and thus it will only read 
the image once.

Original comment by lennart....@gmail.com on 15 Mar 2012 at 7:45

Attachments: