image + a DeviceGray image that
> can be used for an SMask is pretty simple and should not be having
> the problems that you are describing.
>
> I can provide some sample/working C/c++ code that does what you want
> if that will help...
>
> Leonard
>
> -Origi
an 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.
Steve
On Dec 30, 2008, at 2:43 PM, Steven Case wrote:
> In response to your six comments/questions:
>
> 1. I did not make
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
I went ahead and implemented methods in the PdfGraphics2D class to allow me to
dynamically enable and disable the feature for converting images to jpeg
format. This approach works well for my specific application. Just to give
you some perspective, for the document I am using as a test case, w
Agreed, it should be a trivial change. I'll take a look at making such a
change later this weekend and submitting it as a patch. This approach would
be a reasonable solution for my application and will hopefully have value to
other users, too.
I also agree that a better solution would be to c
Yes, there is an option on the PdfGraphics2D object, but that option is
private and can only be set via the constructor. Thus, the option cannot be
changed on an image-by-image basis unless a new PdfGraphcs2D object is created
prior to drawing each image. I could do that, of course, but then t
I have an existing internal application that uses Swing/AWT and makes fairly
extensive use of AWT's APIs for printing the documents created by the
application. In the past, users have generated PDF versions of documents by
printing to Acrobat Distiller. I now have a need to support a more
automat