> We want to load the images as file from UI and pass to back-end as file
> object and then want to use something like
> Image.getInstance (File file) to create images.

[...]

> There is Image.getInstance(String filename) and Image.getInstance(URL url)
> in API, but they would require class loader to load the images as well as
> packaging them in the jar file

What's wrong with the getInstance that takes a string?  Can't you just use
Image.getInstance(file.getAbsolutePath()); ?

Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to