> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of ghost > Sent: Monday, April 26, 2004 11:49 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Clipping, Images and rounded rectangle > > 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. >
Show me your code. > 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. > Some code would help. Best Regards, Paulo Soares ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id�66&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
