nal Message-
> From: Steven Case [mailto:s.c...@ieee.org]
> Sent: Wednesday, December 31, 2008 2:29 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Using PdfGraphics2D and compressing
> non-JPEG images
>
> I've done some more test
that does what you want if that
will help...
Leonard
-Original Message-
From: Steven Case [mailto:s.c...@ieee.org]
Sent: Wednesday, December 31, 2008 2:29 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Using PdfGraphics2D and compressing non-JPEG
images
iText-questions] Using PdfGraphics2D and compressing non-JPEG
images
I've done some more testing and it turns out that this approach will
not work as it is currently implemented. When the image is converted
from an ARGB to a RGB image, the transparent pixels will be converted
to black
Steven Case wrote:
> I'll keep working on this and see if I can come up with a better
> solution. In the meantime, please do not expend the effort to
> evaluate incorporating my proposed feature into iText at this time.
Thanks, I didn't have the time to look at the changes yet.
Normally I'll
I've done some more testing and it turns out that this approach will
not work as it is currently implemented. When the image is converted
from an ARGB to a RGB image, the transparent pixels will be converted
to black pixels and then when the JPEG compression occurs, those black
pixels can
In response to your six comments/questions:
1. I did not make the private method generic enough to work for any
image. It works for those images that are being processed by the
drawImage() method that might call CreateAlphaMask(). As such, at
that point in the process the getPixels() meth
>> I am hoping you will consider making this behavior a permanent
>> change to
>> the PdfGraphics2D class. If so, I have attached a copy of my
>> version of
>> the PdfGraphics2D.java file to this e-mail for your review. Of
>> course,
>> if you have any suggestions for improving this approac
Bill Ensley wrote:
> [Bill Ensley]
> Is there someplace, either on 1T3XT.com or lowagie.com where a
> "wish list" of features, bugs etc, that other developers can work
> on and present back to the project?
Not yet, but we're working on it.
--
This answer is provided by 1T3XT BVBA
http://www.1t3
> Steven Case wrote:
> > I am hoping you will consider making this behavior a permanent change to
> > the PdfGraphics2D class. If so, I have attached a copy of my version of
> > the PdfGraphics2D.java file to this e-mail for your review. Of course,
> > if you have any suggestions for improving th
Steven Case wrote:
> I am hoping you will consider making this behavior a permanent change to
> the PdfGraphics2D class. If so, I have attached a copy of my version of
> the PdfGraphics2D.java file to this e-mail for your review. Of course,
> if you have any suggestions for improving this appr
10 matches
Mail list logo