RE: [iText-questions] Java nio

2004-11-10 Thread Paulo Soares
e- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Martin Resch (adaptions GmbH) > Sent: Wednesday, November 10, 2004 10:36 AM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Java nio > > Hello, > > in a PDF i have to include a lot

[iText-questions] Java nio

2004-11-10 Thread Martin Resch (adaptions GmbH)
Hello, in a PDF i have to include a lot of images. I tried the NIO-package to create the bytearray myself and then instance the Image-object like this: FileChannel roChannel = new RandomAccessFile(url, "r").getChannel(); ByteBuffer roBuf = roChannel.map(FileChannel.MapMode.READ_ONLY, 0, (