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/