Ok Mel, I´ll write a Jira issue today.

Thank you.



-----Mensagem original-----
De: Martinez, Mel - 1004 - MITLL [mailto:[email protected]] 
Enviada em: segunda-feira, 16 de agosto de 2010 11:37
Para: [email protected]
Assunto: RE: 8 bits Jpegs 

Jose'

That is good information to capture.

Could you go to:

https://issues.apache.org/jira/browse/PDFBOX

and create a Jira issue for this?  I believe you can do so anonymously,
though if you are a regular PDFBox user you probably want to register an
account with which to do so - that will help with tracking.  Don't worry -
its free and easy.

Please include all the information you've posted, including what you think
is the fix (below).

Thanks,

-Mel

Dr. Mel Martinez
[email protected]

-----Original Message-----
From: José Rodolfo Carrijo de Freitas [mailto:[email protected]] 
Sent: Friday, August 13, 2010 2:37 PM
To: [email protected]
Subject: RES: 8 bits Jpegs 

I changed the constructor 
from

PDJpeg( PDDocument doc, InputStream is )

To

PDJpeg( PDDocument doc, BufferedImage bi )

Cause inside the first method:
It sets some fixed properties to the image

if (image != null) 
        {
            setBitsPerComponent( 8 );
            setColorSpace( PDDeviceRGB.INSTANCE );
            setHeight( image.getHeight() );
            setWidth( image.getWidth() );
        }




-----Mensagem original-----
De: José Rodolfo Carrijo de Freitas [mailto:[email protected]] 
Enviada em: sexta-feira, 13 de agosto de 2010 14:51
Para: '[email protected]'
Assunto: RES: 8 bits Jpegs 

I wrote to the dev list because I believe it´s a bug that it can not write
8bit color jpeg.


-----Mensagem original-----
De: José Rodolfo Carrijo de Freitas [mailto:[email protected]] 
Enviada em: sexta-feira, 13 de agosto de 2010 14:49
Para: [email protected]
Assunto: 8 bits Jpegs 

Hello all,

 

Are someone facing problems writing a jpeg with 8 bits to a pdf file?

 

cheers



Reply via email to