« Return to Thread: Getting the pixel format

Re: Getting the pixel format

by NehaJain :: Rate this Message:

Reply to Author | View in Thread

I am trying to extract FlateDecode images from a PDF and save them in a BMP file format. The code works fine with 24-bit images but the extracted image gets distorted in case of 8-bit images. I am also not able to get the color map from the pdf. Kindly help.


ya, I am working on the same approach, but do not know how to use the indexed colorspace.
:(
Paulo Soares-3 wrote:
Maybe an indexed colorspace?

Paulo

> -----Original Message-----
> From: NehaJain [mailto:neha.jain@newgen.co.in]
> Sent: Monday, June 29, 2009 4:54 AM
> To: itextsharp-questions@lists.sourceforge.net
> Subject: Re: [itextsharp-questions] Getting the pixel format
>
>
> I know there is nothing ready made. I wrote the code for
> extracting G4, G3,
> 24- bit LZW compressed images and JPEG compressed images but
> am unable to
> extract 8-bit LZW compressed images as I do not know how to
> get the pixel
> format. Kindly help
>
> Paulo Soares-3 wrote:
> >
> > There's nothing in iTextSharp ready-made to extract images.
> >
> > Paulo
> >
> >> -----Original Message-----
> >> From: NehaJain [mailto:neha.jain@newgen.co.in]
> >> Sent: Friday, June 26, 2009 2:01 PM
> >> To: itextsharp-questions@lists.sourceforge.net
> >> Subject: [itextsharp-questions] Getting the pixel format
> >>
> >>
> >> I am unable to get  the Pixel Format of 8-bit FlateDecode
> >> images which are
> >> embedded in PDF files. Kindly help..


Aviso Legal:

Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.



Disclaimer:

This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.




------------------------------------------------------------------------------

_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: Getting the pixel format