Hi Leonard,

Adobe's Illustrator is a tool to create images. Now when an image is
created using Illustrator it can either be a snapshot that is simply
embedded there or it can be a manually created image for example if we
are creating a flower we will manually first create the stem(Object 1)
then the petals individually(5 objects assuming 5 petals) and so on. So
this image of a flower is made up of several such objects. When we view
the PDF structure let's say on any desktop utility e.g. jPDF, the
utility recognizes these images as im0, im1, im2....and so but is unable
to tell us what objects make what image. Hence, through iText we are
unable to identify any particular image on any page and so we can't
remove it.

Hope I am clear in explaining myself.

Thanx!
Priyanka Prasad


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Leonard Rosenthol
Sent: Saturday, March 01, 2008 4:58 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Need Help

Not all images in a PDF are JPEG - most, in fact, are not.

I also don't know what you mean by "{combination of small-2 objects".

Can you provide some sample(s) and explantation?

Leonard

On Feb 29, 2008, at 7:43 AM, Priyanka Prasad, HCL-Industry Solutions  
wrote:

> Thanx for your response but the problem lies in the fact that the  
> images in PDF besides being JPG are also a combination of small-2  
> objects which have resulted into an image and we are not able to  
> trace which object belongs to which image.
>
> Regards!
> Priyanka Prasad
>
> ________________________________
>
> From: [EMAIL PROTECTED] on behalf of  
> Leonard Rosenthol
> Sent: Fri 2/29/2008 5:49 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Need Help
>
>
> _IF_ you have a way to identify what the images are  
> programmatically - that same sample can be used to replace any/all  
> images on the page.
>
> Leonard
>
>
> On Feb 28, 2008, at 10:06 AM, Priyanka Prasad, HCL-Industry  
> Solutions wrote:
>
>
>       Hi,
>
>       I am currently working on a Project where I need to read and
input  
> PDF file, and on one or more pages of the PDF I need to replace one  
> or more images with another jpg image. Please assist me if this  
> functionality can be achieved through iText. Also when browsing the  
> net I came across a code to replace an image on any PDF page but  
> that works only for the first image that it encounters on the page.
>
>       This is kind of an urgent requirement for me so I would be glad
if  
> I can get assistance ASAP.
>
>       
>       
>       
>       
>
>       Regards!
>
>       Priyanka Prasad
>
>       "Accept no one's definition of Life,
>
>       Define it yourself,It's your Life"
>       HCL Technologies
>       [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>       
>       
>       
>       
> DISCLAIMER:
> ----------------------------------------------------------------------

> -------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential  
> and intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its  
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily  
> reflect the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure,  
> modification, distribution and / or publication of
> this message without the prior written consent of the author of  
> this e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender  
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
> ----------------------------------------------------------------------

> -------------------------------------------------
>       
>
--------------------------------------------------------------------- 
> ----
>       This SF.net email is sponsored by: Microsoft
>       Defy all challenges. Microsoft(R) Visual Studio 2008.
>       http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ 
> _______________________________________________
>       iText-questions mailing list
>       [email protected]
>       https://lists.sourceforge.net/lists/listinfo/itext-questions
>       Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>
> <winmail.dat>---------------------------------------------------------

> ----------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ 
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to