Re: [iText-questions] Images are not come perfectly in pdf file while exporting html to pdf.

2012-11-28 Thread Alexis Pigeon
Hi suprithi, On 28 November 2012 06:39, wrote: > hello, > > I want to convert from html to pdf with images.Images are showing > perfect in html but they are not in pdf.The pdf file will show by > clicking a button. > My code is here: > protected void btnExport_Click(object sender, EventArgs e)

[iText-questions] Images are not come perfectly in pdf file while exporting html to pdf.

2012-11-27 Thread suprithi
hello, I want to convert from html to pdf with images.Images are showing perfect in html but they are not in pdf.The pdf file will show by clicking a button. My code is here: protected void btnExport_Click(object sender, EventArgs e) { Response.ContentType = "application/pdf";

[iText-questions] Images are not come perfectly in pdf file while exporting html to pdf.

2012-11-27 Thread suprithi
hello, I want to convert from html to pdf with images.Images are showing perfect in html but they are not in pdf.The pdf file will show by clicking a button. My code is here: protected void btnExport_Click(object sender, EventArgs e) { Response.ContentType = "application/pdf";

Re: [iText-questions] Images extract problem

2010-12-20 Thread Dmitriy Reznik
] Images extract problem Were you running this recursively on all content streams in the PDF? -Original Message- From: Dmitriy Reznik [mailto:drez...@tantor.com] Sent: Monday, December 20, 2010 8:57 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Images extract

Re: [iText-questions] Images extract problem

2010-12-20 Thread Leonard Rosenthol
Were you running this recursively on all content streams in the PDF? -Original Message- From: Dmitriy Reznik [mailto:drez...@tantor.com] Sent: Monday, December 20, 2010 8:57 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Images extract problem May I ask

Re: [iText-questions] Images extract problem

2010-12-20 Thread Dmitriy Reznik
-questions@lists.sourceforge.net Subject: Re: [iText-questions] Images extract problem Op 13/12/2010 17:41, Dmitriy Reznik schreef: > I just know that the code that I found on internet is supposed to > extract all images, You never should use code "found on internet" if you're not sure

Re: [iText-questions] images problem

2010-12-14 Thread Nurettin DAG
I do not see where you are defining image size. I believe in this case dimensions of the original image is being used. However, if either width or height is greater than the page size document.add() may be causing it to rescale to fit. Why don t you try scaling to your defined values? If that is no

[iText-questions] images problem

2010-12-14 Thread José Luis Pino Moreno
Hi, i'm new with this library, so i hope that you could help me, i use the next code to create a simple PDF doc that contains only an image that i have with an specific size, but when I print the doc, the image size is differente than the size that i have predefined, and i can´t understand why?, ca

Re: [iText-questions] Images extract problem

2010-12-13 Thread 1T3XT BVBA
Op 13/12/2010 17:41, Dmitriy Reznik schreef: > I just know that the code that I found on internet is supposed to > extract all images, You never should use code "found on internet" if you're not sure what that code does. > but most of the images it extracts look like > negatives, plus brightness

Re: [iText-questions] Images extract problem

2010-12-13 Thread Leonard Rosenthol
and use them. It's all about what your task is and requirements are - but that's for your to figure out. -Original Message- From: Dmitriy Reznik [mailto:drez...@tantor.com] Sent: Monday, December 13, 2010 8:41 AM To: Post all your questions about iText here Subject: Re: [i

Re: [iText-questions] Images extract problem

2010-12-13 Thread Dmitriy Reznik
Sent: Monday, December 13, 2010 11:28 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Images extract problem Are we talking about two completely separate images (eg. A boat and a car?) or are we talking about masking and/or transparency? In the case of the former, you

Re: [iText-questions] Images extract problem

2010-12-13 Thread Leonard Rosenthol
M To: Post all your questions about iText here Subject: Re: [iText-questions] Images extract problem I still don't get what should be done in my particular case. If only one of two images (one of which is covering another) is extracted, how the original picture can be restored? Thanks, Dmitriy

Re: [iText-questions] Images extract problem

2010-12-13 Thread Dmitriy Reznik
er 10, 2010 11:59 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Images extract problem Read chapter 7 (basic object formats) and 8.9 (images) of the PDF Reference: http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008. pdf Chapter 13, section 2 of

Re: [iText-questions] Images extract problem

2010-12-12 Thread 1T3XT BVBA
Op 10/12/2010 13:35, dpreznik schreef: > > Mark Storer-2 wrote: >> http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008. >> pdf > The page is said to be unavailable :( The URL works for me, but I know that these documents have been moving around in the past. That's why http://1t3

Re: [iText-questions] Images extract problem

2010-12-12 Thread 1T3XT BVBA
Op 10/12/2010 13:37, dpreznik schreef: > 1T3XT BVBA wrote: >> Please subscribe to the mailing list first: >> http://www.itextpdf.com/contact.php#mailinglist > OK, I subscribed now, but my posts are still on hold. I don't know why I can see that you are subscribed. When I look at the administrative

Re: [iText-questions] Images extract problem

2010-12-12 Thread dpreznik
1T3XT BVBA wrote: > > > Please subscribe to the mailing list first: > http://www.itextpdf.com/contact.php#mailinglist OK, I subscribed now, but my posts are still on hold. I don't know why. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Images-extract-problem-tp

Re: [iText-questions] Images extract problem

2010-12-12 Thread dpreznik
Mark Storer-2 wrote: > > > Of course not. It simply means you need to look at other image > attributes to see how to interpret the data. What in specific you'll > need to check will vary from one image format to another. I recommend > reading the PDF Specification for all the nitty gritty de

Re: [iText-questions] Images extract problem

2010-12-10 Thread Mark Storer
; From: dpreznik [mailto:drez...@tantor.com] > Sent: Thursday, December 09, 2010 10:07 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Images extract problem > > > Thank you for your message. Could you please give me more > details how i

Re: [iText-questions] Images extract problem

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 19:07, dpreznik schreef: > Thank you for your message. Could you please give me more details how it can > be done? Because I am ignorant in all this stuff. Please subscribe to the mailing list first: http://www.itextpdf.com/contact.php#mailinglist I don't know how you post questions (

Re: [iText-questions] Images extract problem

2010-12-09 Thread dpreznik
Thank you for your message. Could you please give me more details how it can be done? Because I am ignorant in all this stuff. Thanks. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Images-extract-problem-tp3079140p3080663.html Sent from the iText - General mailing

Re: [iText-questions] Images extract problem

2010-12-09 Thread Mark Storer
rk Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: dpreznik [mailto:drez...@tantor.com] > Sent: Thursday, December 09, 2010 5:38 AM > To: itext-questions@lists.sourceforge.net > Sub

Re: [iText-questions] Images extract problem

2010-12-09 Thread dpreznik
1T3XT info wrote: > > Actually, they are not really negatives. > They are files with a mask (or they are the mask for another image). > For instance: if you add a PNG with transparency to a PDF file, > you can find two images inside the PDF: one without transparency > and another one that acts a

Re: [iText-questions] Images extract problem

2010-12-09 Thread Leonard Rosenthol
Thursday, December 09, 2010 12:53 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Images extract problem Op 8/12/2010 22:33, dpreznik schreef: > Dear experts, > > I am trying to use iTextSharp to extract images from pdf. Some images are > extracted

Re: [iText-questions] Images extract problem

2010-12-09 Thread 1T3XT BVBA
Op 8/12/2010 22:33, dpreznik schreef: > Dear experts, > > I am trying to use iTextSharp to extract images from pdf. Some images are > extracted fine, but many are extracted as negatives of the original images. Actually, they are not really negatives. They are files with a mask (or they are the mask

[iText-questions] Images extract problem

2010-12-09 Thread dpreznik
Dear experts, I am trying to use iTextSharp to extract images from pdf. Some images are extracted fine, but many are extracted as negatives of the original images. Could you please help me with it? Here is the code I am using: public static void ExtractImagesFromPDF(string sourcePdf, stri

Re: [iText-questions] Images with i text

2010-11-04 Thread Bruno Lowagie
On 4/11/2010 12:55, Joe Simas wrote: > I have a ASP script that pulls images from a url path from the SQL > server and places the images on a page, They consisantly change. > how do I get itext to recoginise the image as a url path ? instead of a > server.mappath so it pulls the image into the PDF

[iText-questions] Images with i text

2010-11-04 Thread Joe Simas
I have a ASP script that pulls images from a url path from the SQL server and places the images on a page, They consisantly change. how do I get itext to recoginise the image as a url path ? instead of a server.mappath so it pulls the image into the PFD ??? System Scaned By Barracuda ANTI(Spa

Re: [iText-questions] Images and the HTMLWorker

2010-10-14 Thread Nurettin DAG
2:59 PM > *To:* Post all your questions about iText here > *Subject:* Re: [iText-questions] Images and the HTMLWorker > > I have also struggled with the same issue. The safest way is to have iText > resize the image controlled with a flag on an image object. However, this > requires a

Re: [iText-questions] Images and the HTMLWorker

2010-10-14 Thread Paulo Soares
Have a look at PdfWriter.setStrictImageSequence(). Paulo From: bob dobbs [mailto:space...@hotmail.com] Sent: Wednesday, October 13, 2010 4:48 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Images and the HTMLWorker I am creating a pdf

Re: [iText-questions] Images and the HTMLWorker

2010-10-14 Thread Paulo Soares
t: Re: [iText-questions] Images and the HTMLWorker I have also struggled with the same issue. The safest way is to have iText resize the image controlled with a flag on an image object. However, this requires a patch on iText. If authors agree it is a common requirement I am happy to share the pa

Re: [iText-questions] Images and the HTMLWorker

2010-10-14 Thread Nurettin DAG
I have also struggled with the same issue. The safest way is to have iText resize the image controlled with a flag on an image object. However, this requires a patch on iText. If authors agree it is a common requirement I am happy to share the patch I have and we can work further on it. On Wed, Oc

[iText-questions] Images and the HTMLWorker

2010-10-13 Thread bob dobbs
I am creating a pdf from HTML using iText using HTMLWorker.parseToList: List objects = HTMLWorker.parseToList(new StringReader(strPrintMe),styles); for (Element element : objects) { document.add(element); } My html often contains images, sometimes very large ones. The resulting pdf plac

Re: [iText-questions] Images from HTML to PDF

2010-10-07 Thread Mark Storer
stions about iText here Subject: [iText-questions] Images from HTML to PDF Hello, I am new to IText (been using it for about a week now). I am trying to create a PDF from an HTML file. My HTML file has images in it that are not displaying in the rendered PDF

[iText-questions] Images from HTML to PDF

2010-10-07 Thread Petteys, Kevin
Hello, I am new to IText (been using it for about a week now). I am trying to create a PDF from an HTML file. My HTML file has images in it that are not displaying in the rendered PDF. I have validated that the images are in the HTML file before the PDF creation is called but I don't know how t

Re: [iText-questions] Images causing background colours to change

2010-06-17 Thread Leonard Rosenthol
Set the page's transparency blending space to RGB. Search the archives for NUMEROUS references to this. OR read the book! Leonard From: Lynch, Ross [mailto:ross.ly...@irishlife.ie] Sent: Thursday, June 17, 2010 11:10 AM To: itext-questions@lists.sourceforge.net Subject: [iText-ques

[iText-questions] Images causing background colours to change

2010-06-17 Thread Lynch, Ross
Hi I've added png images to certain pages of my PDF and it seem sto have changed the background colour of the tables on that page. I am using BaseColor(22, 80, 255) as the background colour of my table headers. It seems to Darken when I add the images to the page. I was wondering has anyon

Re: [iText-questions] Images extraction.

2009-11-21 Thread 1T3XT info
java.g...@rediffmail.com wrote: > Hi , I am able to extract images in JPEG(.jpg, .jpeg, .jpe) format only not > other. Read the PDF Reference and you'll find out why. I hope it's not urgent. The PDF reference count about 1200 pages :p (Note: you won't get a ready-made sample here, because there

Re: [iText-questions] Images extraction.

2009-11-21 Thread java . geek
Hi , I am able to extract images in JPEG(.jpg, .jpeg, .jpe) format only not other. public void extractImages(){ try{ PdfReader chartReader = new PdfReader("myPdf.pdf"); for (int i = 0; i < chartReader.getXrefSize(); i++) {

Re: [iText-questions] Images extraction.

2009-08-25 Thread Mark Storer
ure.com] Sent: Tuesday, August 25, 2009 2:00 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Images extraction. Hi Team, I am trying to get the images from PDF file, I am using he below API to do it but I am getting 'Invalid Image' PdfRea

Re: [iText-questions] Images extraction.

2009-08-25 Thread Leonard Rosenthol
: [iText-questions] Images extraction. Hi Team, I am trying to get the images from PDF file, I am using he below API to do it but I am getting 'Invalid Image' PdfReader chartReader = new PdfReader("C:\\Raj\\Test\\signtest.pdf"); for (int i = 0; i <

Re: [iText-questions] images too light

2009-07-14 Thread Paulo Soares
ilto:g...@usa.net] > Sent: Tuesday, July 14, 2009 4:02 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] images too light > > > If I load an image into iText from a BufferedImage, > originally read in from a > gray-scale jpg, the image comes out very

[iText-questions] images too light

2009-07-14 Thread grkuntzmd
If I load an image into iText from a BufferedImage, originally read in from a gray-scale jpg, the image comes out very light. If I load the image directly from the file, it comes out better (but still lighter than the original). Any ideas? - G. Ralph Kuntz, MD Chief Software Architect meridi

Re: [iText-questions] Images and textwrap in a MultiColumnText

2009-05-19 Thread 1T3XT info
Cesar Reyes wrote: > Hi Does someone knows how to solve this problem? I'd add the image at an absolute position and use irregular or adapted columns to add the rest. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

[iText-questions] Images and textwrap in a MultiColumnText

2009-05-18 Thread Cesar Reyes
Hi Does someone knows how to solve this problem? http://article.gmane.org/gmane.comp.java.lib.itext.general/20296/ http://article.gmane.org/gmane.comp.java.lib.itext.general/20296/ Thanks a lot, Cesar Reyes -- View this message in context: http://www.nabble.com/Images-and-textwrap-in-a-Mult

Re: [iText-questions] Images and shapes appear under stamped text

2009-04-15 Thread 1T3XT info
MartinBeek wrote: > Hello all. > > I have an existing PDF with formfields. I have filled the acrofields using > the pdf-stamper. Now i want to add images and shapes to the page. Even if i > use getOverContent, i always end up with the acrofields in front of the > images and shapes. > Tried differe

[iText-questions] Images and shapes appear under stamped text

2009-04-15 Thread MartinBeek
Hello all. I have an existing PDF with formfields. I have filled the acrofields using the pdf-stamper. Now i want to add images and shapes to the page. Even if i use getOverContent, i always end up with the acrofields in front of the images and shapes. Tried different methods for adding images an

Re: [iText-questions] Images and TEXT_WRAP problem

2008-07-04 Thread 1T3XT info
Bramlett, John wrote: I have an image that I am adding to a chapter with the alignment set to Image.TEXT_WRAP | Image.LEFT. When I generate my PDF for most of the images the text wraps around beautifully with the text on the right and then some flowing under the image. However I have a few inst

Re: [iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread Bruno Lowagie
Atish Roy wrote: > Hi. > Can you give me piece of code which will insert images in header and footer > of a pdf? What if you just dropped the parameters that rotate and skew the image in your addImage method? You were asked why you defined such a strange transformation matrix, but you didn't answe

Re: [iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread Atish Roy
Hi. Can you give me piece of code which will insert images in header and footer of a pdf? Thank you. Atish Roy wrote: > > Hi, > I want to embed images in header and footer of a pdf. I'm using > onStartPage and onEndPage, but the images are coming rotated and > http://www.nabble.com/file/p17796

Re: [iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread 1T3XT info
Atish Roy wrote: > Sorry about not mentioning the code there.. > > http://www.nabble.com/file/p17797408/GeneratePDF.java GeneratePDF.java *LOL* You have written this code: com.lowagie.text.Image loobImg = com.lowagie.text.Image.getInstance("C:\\IMG_1223.jpg"); loobImg.scalePercent(15); loobI

Re: [iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread Atish Roy
Sorry about not mentioning the code there.. http://www.nabble.com/file/p17797408/GeneratePDF.java GeneratePDF.java -- View this message in context: http://www.nabble.com/Images-in-Header-and-Footer-of-pdf-tp17796138p17797408.html Sent from the iText - General mailing list archive at Nabble.c

Re: [iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread Alexis Pigeon
Hi Atish, On 12/06/2008, Atish Roy <[EMAIL PROTECTED]> wrote: > > Hi, > I want to embed images in header and footer of a pdf. I'm using onStartPage > and onEndPage, but the images are coming rotated and > http://www.nabble.com/file/p17796138/test.pdf test.pdf > What would be the probable caus

[iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread Atish Roy
Hi, I want to embed images in header and footer of a pdf. I'm using onStartPage and onEndPage, but the images are coming rotated and http://www.nabble.com/file/p17796138/test.pdf test.pdf What would be the probable cause of image getting tilted? Many thanks in advance. Atish -- View this messag

Re: [iText-questions] Images dans Itext

2008-06-03 Thread 1T3XT info
Alexandre Gomez wrote: > Bonjour, je suis en train de développer un librairie au dessus d'Itext. > J'aurais souhaiter savoir si il est possible d'inclure des .svg dans un > document ... http://www.1t3xt.info/examples/browse/?page=example&id=200 -- This answer is provided by 1T3XT BVBA -

[iText-questions] Images dans Itext

2008-06-03 Thread Alexandre Gomez
Bonjour, je suis en train de développer un librairie au dessus d'Itext. J'aurais souhaiter savoir si il est possible d'inclure des .svg dans un document ... ( les eps ne sont plus supportés a priori ) Quels formats sont intégrables dans Itext ( en image vectorielle si possible ) .? je vous remerc

[iText-questions] images on dynamic html snippets

2007-10-30 Thread Alvaro Sanchez
I'm reading dynamic HTML snippets from a database, some of these snippets contain Images () The images rae displayed but on the top of the document, overlapping with the text. They do not maintain the appearance of the HTML, like everything else. I looked using ColumnText, but when I tried

[iText-questions] images dynamic html snippets

2007-10-30 Thread Alvaro Sanchez
I'm reading dynamic HTML snippets from a database, some of these snippets contain Images () The images rae displayed but on the top of the document, overlapping with the text. They do not maintain the appearance of the HTML, like everything else. I looked using ColumnText, but when I tried

Re: [iText-questions] Images

2007-10-24 Thread Bruno Lowagie
Paulo Carvalho wrote: > Hello > > I would like to know if there is a way to convert a > "com.lowagie.text.Image" into a Image file (.png for example). > After reading the doc its seems that it cannot be done. It only lets to > save an image into a pdf document. > > Am i right or wrong? You a

[iText-questions] Images

2007-10-24 Thread Paulo Carvalho
Hello I would like to know if there is a way to convert a "com.lowagie.text.Image" into a Image file (.png for example). After reading the doc its seems that it cannot be done. It only lets to save an image into a pdf document. Am i right or wrong? Thanks regards

[iText-questions] Images and CYMK colours

2007-10-10 Thread david allen
When setting colour fill Itext allows you to specify RBG or CYMK. The reason is when we create pdfs they contain images. However, when printed they appear alot darker. Is it possible to do the same for images? -- View this message in context: http://www.nabble.com/Images-and-CYMK-colours-tf460

Re: [iText-questions] images dpi again

2007-09-23 Thread Hans-Werner Hilse
Hi again, On Sat, 22 Sep 2007 17:40:07 +0200 "Idees Absurdes" <[EMAIL PROTECTED]> wrote: > I'm going to take out my life if I don't generate a 126x126 mm > today :S I'm trying this during days. I have summerized my > application in a main (It can be usefull to everyone who is not > looking for an

Re: [iText-questions] images dpi again

2007-09-22 Thread Hans-Werner Hilse
On Sat, 22 Sep 2007 17:40:07 +0200 "Idees Absurdes" <[EMAIL PROTECTED]> wrote: > Hi there! > > I'm going to take out my life if I don't generate a 126x126 mm > today :S I'm trying this during days. I have summerized my > application in a main (It can be usefull to everyone who is not > looking fo

[iText-questions] images dpi again

2007-09-22 Thread Idees Absurdes
Hi there! I'm going to take out my life if I don't generate a 126x126 mm today :S I'm trying this during days. I have summerized my application in a main (It can be usefull to everyone who is not looking for an specific size) I create a 126 x 126 mm, inside this I put a pdfTemplate wich is 126 x

Re: [iText-questions] Images in RTF Files

2007-06-19 Thread Javier Martinez
It works fine. Thank you very much Thomas and Mark for your asnwers - Original Message - From: "Mark M. Hall" <[EMAIL PROTECTED]> To: Cc: "Javier Martinez" <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 2007 2:45 PM Subject: Re: [iText-questions] Images in

Re: [iText-questions] Images in RTF Files

2007-06-19 Thread Mark M. Hall
On Tuesday 19 June 2007 12:44, Thomas Bickel wrote: > Javier Martinez wrote: > > Hi! > > > > I've made some captures of what happens with iText version 2.0.4 > > > > http://fotosjavi.fotopic.net/p42420514.html > > The image data is binary now, it was just plain 7 bit ASCII in older > versions. You

Re: [iText-questions] Images in RTF Files

2007-06-19 Thread Thomas Bickel
Javier Martinez wrote: > Hi! > > I've made some captures of what happens with iText version 2.0.4 > > http://fotosjavi.fotopic.net/p42420514.html The image data is binary now, it was just plain 7 bit ASCII in older versions. You are converting that binary data to a string without specifying a ch

Re: [iText-questions] Images in RTF Files

2007-06-19 Thread Javier Martinez
Hi! I've made some captures of what happens with iText version 2.0.4 http://fotosjavi.fotopic.net/p42420514.html If I use iText version 1.3.1 I can replace my #logo# tag with the RTF code string and it works almost perfect http://fotosjavi.fotopic.net/p42420513.html Another problem I have to f

Re: [iText-questions] Images in RTF Files

2007-06-15 Thread Mark Hall
On Friday 15 June 2007, Javier Martinez wrote: > I have tried with the writeContent method and I get the same result. If you could send me a small self-contained example that I could run, then I could have a look at it. Greetings, Mark -- You will be given a post of trust and responsibility. My

Re: [iText-questions] Images in RTF Files

2007-06-14 Thread Javier Martinez
Thank you for your answer Mark. I have tried with the writeContent method and I get the same result. - Original Message - From: "Mark Hall" <[EMAIL PROTECTED]> To: Cc: "Javier Martinez" <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2007 8:49 PM Subject:

Re: [iText-questions] Images in RTF Files

2007-06-14 Thread Mark Hall
On Thursday 14 June 2007, Javier Martinez wrote: > In my project, we use Jasperreports to design reports, and it uses > iText-1.3.1.jar library. If I make this with this iText Library version, I > can insert the image properly (the only problem is that the image is align > to the text). If I use th

Re: [iText-questions] Images in RTF Files

2007-06-14 Thread Felipe Gaúcho
the part of fill the template with the correct information is fine, it is working and I confess I am quite impressed with the quality of iText library about that... the signature part is my problem.. but I believe until the weekend it will be fixed :) (and it is working anyway, but in two steps..

[iText-questions] Images in RTF Files

2007-06-14 Thread Javier Martinez
Hello! What I am trying to do is something similar to merge fields with a RTF Template. I need to load a logo into a RTF file depending on the name of a company. The logo is on the header, so I get the RTF code for an image and I replace the tag #LOGO# in the RTF template with the appropiate RT

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
Bruno Lowagie (iText lowagie.com> writes: > Have you tried wrapping the image in a Chunk? Wrapping the Image in a Chunk did the trick. I don't suppose you could shed some light on why iText behaves like this? :p Thanks again for all the help, I appreciate it! -

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
R.Greg wrote: > Nothing I'm doing seems to let me make a Paragraph, put an Image in that > Paragraph, and put that Paragraph in a Cell (whether PdfPCell or otherwise) > and > have the image display. Have you tried wrapping the image in a Chunk? > So, if that's not going to work, I'm thinking ab

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
> R.Greg wrote: > > Suppose I ditch the thought of adding the Image in a > > Paragraph and adding that Paragraph to my Table/PdfPTable. Suppose I tag > > the > > text with an Anchor, then I open up the Document with PdfReader. > > Now you have completely lost me. Why are you introducing Anchor?

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
R.Greg wrote: > Suppose I ditch the thought of adding the Image in a > Paragraph and adding that Paragraph to my Table/PdfPTable. Suppose I tag the > text with an Anchor, then I open up the Document with PdfReader. Now you have completely lost me. Why are you introducing Anchor? What's this with

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
GAMBELLI Raffaele wrote: > Afterwards, when I decided to switch from Table to PdfPTable, > inside onEndPage method I simply created a method to convert a Table into a PdfPTable... Yes, this works for header and footer. > Perhaps didn't I understand the question? :-) Or maybe I didn't. I'm not

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
GAMBELLI Raffaele prismaeng.it> writes: > > In my work, I have also to provide both writing system, PDF and RTF. > In the beginning, I used for both the writers Table class. > I have many internal objects generated parsing a xml printing template, then I convert these objects in > Itext Element

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
Sorry, I fudged the code a bit copying and pasting. Here's how it 'should' look: // Add Warning Images PdfReader docReader = new PdfReader(tempFilename); HashMap table = docReader.getNamedDestination(); // AnchorFactory keeps track of all the Anchor objects I've requested, so I know // the name

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
> Certainly not. > There might be some workarounds, like using SimpleTable > (translates to PdfPTable for PDF, and to Table for RTF, HTML); > or you could create a Table as well as a PdfPTable, pause the > PdfWriter before adding the Table, then resume, and pause > the Rtf/HtmlWriter before adding

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread GAMBELLI Raffaele
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruno Lowagie (iText) Sent: martedì 23 gennaio 2007 15.34 To: Post all your questions about iText here Subject: Re: [iText-questions] Images in paragraphs in cells not showing GAMBELLI Raffaele wrote: > Hi! > > I'v already tried what

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
GAMBELLI Raffaele wrote: > Hi! > > I'v already tried what you have just asked, it works! It does? With onSectionEnd? I don't understand. How can you replace a table in a page event? br, Bruno - Take Surveys. Earn Cash. Influ

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
R.Greg wrote: > Does Table just not support that functionality? I don't know, I didn't have the time to look at the actual question. I just know that Table is messy when it comes to integrating images into cells. > Unfortunately, I have a > requirement that I be able to output text in any of iTe

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread GAMBELLI Raffaele
tions@lists.sourceforge.net Subject: Re: [iText-questions] Images in paragraphs in cells not showing Bruno Lowagie (iText lowagie.com> writes: > > R.Greg wrote: > > I was hoping someone here could shed some light on this. > > Not as long as you're using Table instead of PdfPTable. >

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
Bruno Lowagie (iText lowagie.com> writes: > > R.Greg wrote: > > I was hoping someone here could shed some light on this. > > Not as long as you're using Table instead of PdfPTable. > br, > Bruno Does Table just not support that functionality? Unfortunately, I have a requirement that I be able

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
R.Greg wrote: > I was hoping someone here could shed some light on this. Not as long as you're using Table instead of PdfPTable. br, Bruno - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay p

[iText-questions] Images in paragraphs in cells not showing

2007-01-22 Thread R . Greg
I've got a lot of data that's sorted out in tables for easy analysis. There are some situations where I want to flag some bit of data as important. I've noticed some odd behavior with respect to Images and Tables, and I was hoping someone here could shed some light on this. Below is some code

Re: [iText-questions] Images in Header

2006-11-22 Thread Bruno Lowagie (iText)
Partha Sarathi-R wrote: > > Hi bruno, > > This is Partha. > Could you please help me to show an image in a pdf file header as it's > own size. Please keep on the mailing list, don't mail to my private address. So you are adding an image to the PDF using page events. Your problem is that the im

Re: [iText-questions] Images in Header

2006-11-10 Thread Bruno Lowagie (iText)
Dirk Ulrich wrote: > t.setConvert2pdfptable(true); > PdfPTable p = t.createPdfPTable(); There is no reason to create a Table first, and then convert it to a PdfPTable in this case. Create a PdfPTable right away. Then you can tell the cell if it should scale the image or not. Comp

Re: [iText-questions] Images in Header

2006-11-10 Thread Dirk Ulrich
BTW:image.scaleToFit(15f, 30f);orimage.scalePercent(1.0f);doesn't work!Dirk Original-Nachricht Datum: Fri, 10 Nov 2006 09:43:14 +0100Von: "Dirk Ulrich" <[EMAIL PROTECTED]>An: itext-questions@lists.sourceforge.netBetreff: [iText

[iText-questions] Images in Header

2006-11-10 Thread Dirk Ulrich
I am now creating a header using onEndPage. I created a Table, convert it to a PdfPTable and display it using the onEndPage method. This works fine but when I add an image (a GIF) to the table it is upscaled so that the rows height takes a third of the whole A4 page. How can I di

Re: [iText-questions] Images & MarkUp ( iTextSharp)

2006-11-01 Thread Paulo Soares
- Original Message - From: "net2tech" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 01, 2006 8:14 PM Subject: Re: [iText-questions] Images & MarkUp ( iTextSharp) > > Thanks Paulo, > > I tried the following > .. > Pd

Re: [iText-questions] Images & MarkUp ( iTextSharp)

2006-11-01 Thread net2tech
uot; <[EMAIL PROTECTED]> > To: > Sent: Friday, October 27, 2006 11:53 PM > Subject: Re: [iText-questions] Images & MarkUp ( iTextSharp) > > >> >> Thank you! that seem to do the trick. Does the same concept apply for >> Text >> also? I want t

[iText-questions] Images In Header And Footer solved ;)

2006-10-31 Thread sachit dahal
Hey Dudes, I just completed with inserting images in the header and footer of the PDF Documents, the images are shown on every pages without extra pages and without garbage strings on the header and footer Hope this helps You all. I have attached the codes needed check them out or you can und

Re: [iText-questions] Images & MarkUp ( iTextSharp)

2006-10-27 Thread Paulo Soares
ColumnText.ShowTextAligned(). Paulo - Original Message - From: "net2tech" <[EMAIL PROTECTED]> To: Sent: Friday, October 27, 2006 11:53 PM Subject: Re: [iText-questions] Images & MarkUp ( iTextSharp) > > Thank you! that seem to do the trick. Does the same con

Re: [iText-questions] Images & MarkUp ( iTextSharp)

2006-10-27 Thread net2tech
OTECTED]> > To: > Sent: Friday, October 27, 2006 9:27 PM > Subject: [iText-questions] Images & MarkUp ( iTextSharp) > > >> >> Hello, >> >> I am new to iTextSharp. Here is what I need to do. Take a Tiff image and >> make a PDF document. I have done

Re: [iText-questions] Images & MarkUp ( iTextSharp)

2006-10-27 Thread Paulo Soares
27, 2006 9:27 PM Subject: [iText-questions] Images & MarkUp ( iTextSharp) > > Hello, > > I am new to iTextSharp. Here is what I need to do. Take a Tiff image and > make a PDF document. I have done that. :)Now I need to mark certain part > of > the Image which may contain

[iText-questions] Images & MarkUp ( iTextSharp)

2006-10-27 Thread net2tech
Hello, I am new to iTextSharp. Here is what I need to do. Take a Tiff image and make a PDF document. I have done that. :)Now I need to mark certain part of the Image which may contain words in a polygon/rectangle. How do I do this? I tried doing cb.SetRGBColorFillF(0f, 255

Re: [iText-questions] Images inside a cell

2006-09-27 Thread Kharas
Hi I've attached an example that describes the behaviour I was asking about. I supposse I could rephrase my question like this, is there any way to make an image fit into a cell when generating a RTF document? I mean, something like the PdfPCell(image, true) constructor. Thanks. http://www.nabbl

Re: [iText-questions] Images inside a cell

2006-09-26 Thread Alexis Pigeon
Hi Kharas, On 26/09/06, Kharas wrote: > > Hi, > > I'm generating the same documents in RTF and PDF using iText 1.4.5, and I've > noticed that images behave differently in RTF and PDF Cells. In the RTF > documents, when the cell is too small to contain the image, the image's > width is resized, b

  1   2   3   >