> You'll need to read the dictionaries in the /Annots of every page;
> and create new PdfAnnotation objects based on what you find there.
That's feasable.
> I have no idea why you'd want to do that, but it's not impossible
> if you have some time to kill.
Customers want it. The annotation is an
Thanks for the quick reply.
Currently I still do not know whether copying the annotations from one document
to another is possible or not possible at all.
Regards
Axel
1T3XT info schrieb:
> Axel Rose wrote:
>> Is there a way to transfer the annotations?
>
> Please downloa
Hello,
I'm splitting multipage PDFs into singlepage PDFs. This works great but
annotations from the source aren't transferred into the singlepage results.
The samples I found seem to just create new annotations but in my case
I'd need to read and rewrite them.
This is my split() method:
---
priv
Hello,
what is the correct itext toolbox to use?
Here
http://sourceforge.net/projects/itext/files/
I found "iText-toolbox-2.1.7.jar".
and here
http://sourceforge.net/projects/itexttoolbox/
I find "toolbox-0.0.2.jar"
Using the first version I have usage problems, e.g.
$ java -cp iTex
One exception:
An image PDF saved with Photoshop has a distinct colorspace.
You'd have to extract the metadata and decode e.g. PhotometricInterpretation.
Perhaps the use case is this simplified case.
Regards
Axel
--
> Use a float instead of an int.
How?
new BufferedImage() requires width/height as int.
Regards
Axel
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open
Hello Bruno,
thanks for providing this nice sample code.
I wondered how you solve the problem of images with just a single pixel in one
dimension. (Yes, this is off-topic, but I'm a bit desparate and now the code is
published here)
int height = (int)(src.getHeight() * factor);
might give you
> I'll give 2.1.2u a try.
I can't use this yet because it implies API changes.
So I tried 2.0.7 -- without success.
My app server complains
java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1OctetString
at com.lowagie.text.pdf.PdfEncryption.(Unknown Source)
at com.lowag
> Another guess: what is the version of your JVM
> and what version of BC are you using?
I'm using JDK 1.5 or 1.6
bcmail-jdk15-139.jar
bcprov-jdk15-139.jar
I'll give 2.1.2u a try.
(BTW: what does "u" stand for?)
Regards,
Axel.
> 2.0.0 was the first version that needed bcprov and bcmail jars
> (from BouncyCastle) in the CLASSPATH. Do you have these jars
> reachable for your ClassLoader?
Sorry, I forgot to mention this.
bcprov*.jar is in the same location as iText-2.0.0.jar
iText can be loaded, bcprov* not.
That's why I
Hello,
using iText 2.0.0 I have the following problem.
My server sets the ClassLoader to use a certain path. This path has the
"itext-2.0.0.jar". Only If iText is forced to use the bouncycastle classes
because of some locked PDF files it is analyzing I get an ClassNotFound
Exception for those
Alan Keown schrieb:
> If you look at this thread:
> [...]
> you will find this answer:
>
> Stamper doesn't do layers - yet.
There is no need for me to use Stamper, at least as far as I understood it.
I did this:
java com.lowagie.examples.objects.bookmarks.Layers
This creates a file "L
Hello all,
I'd like to concatenate two or more fixed input PDF files containing layers
into a new one with layers retained.
When I use the currently available example code from:
http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/copystamp/Concatenate.java
layers are lost in the
13 matches
Mail list logo