[JAVA2D] Does printing only support RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR?

2006-12-14 Thread Jan Bösenberg (INCORS GmbH)
I am trying to print a buffered image in the print(...) method of a Printable. The buffered image is scaled to fit the page size, but I do not seem to be able to control the interpolation type through setting rendering hints. The print result always looks like nearest neighbor interpolation is

Re: [JAVA2D] Does printing only support RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR?

2006-12-14 Thread Phil Race
There's more than one code path but in the typical cases all we do is send the image to GDI using StretchDIBits. I don't think that supports specifying an interpolation mode. -phil. Jan Bösenberg (INCORS GmbH) wrote: I am trying to print a buffered image in the print(...) method of a