Hiyas

I'm still playing around with the API, but I have some questions that I
found no answer to it.

1. Using roundedRectangle(), I can create a rounded rectangle (as the
name implies), however, somehow my rounded rectangles look wierd, they
don't put rounded rectangles as you would think of them but somehow
upside down. A rounded rectangle looks more like this in my sample:
)------(
|        | 
)------(

instead of

 ------
(___ )

I hope this can display what I mean.

2. When I insert images into the PDF document, I use PNG images to
insert. The wierd thing is, that such an document with 72 12k images
gets blown up to an almost 3meg file. I'm very sure that I can reduce
the file size on that ones, but I have no clue how. Problem is, I don't
khnow the images or the DPI's they use, etc. because my code is part of
a reporting engine and the images can come from virtually everywhere
using JAI to render them.

3. Again on clipping pictures, this has nothing to do with iText, but
maybe someone in here can point me to a reference or code snippet that
shows me, how I can clip a picture that I have *only* in the form of a
byte array. I found setClip() on the Graphics object, but unfrotunately,
I cannot use setClip because the image I create is created from a byte
array and not using getGraphics(w, h), at least, that's what the
exception tells me.

Thanks in advance
Roger Misteli

 


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to