- 
    Bug 
- 
    Resolution: Duplicate
- 
     P3 P3
- 
    None
- 
    1.4.0, 1.4.2, 1.4.2_05, 6
- 
        generic, x86
- 
        generic, linux, windows_nt, windows_2000, windows_xp
TYPE_INT_BGR
TYPE_USHORT_555_RGB
TYPE_USHORT_565_RGB
The above buffered images are not filtered properly when any of the following rendering hints are specified.
KEY_RENDERING, VALUE_RENDER_QUALITY
KEY_INTERPOLATION, VALUE_INTERPOLATION_BILINEAR
KEY_INTERPOLATION, VALUE_INTERPOLATION_BICUBIC
All the buffered image types specified above fail for all the rendering hints given above right from JDK1.4+ on Windows. Out of these, TYPE_INT_BGR fails for all these rendering hints right from JDK1.2.2 on Win32 platforms.
On Solaris, none of these failures are reproducible.
I have attached a sample code. Execute the sample code. Choose one of the buffered image types given above and the corresponding rendering hint specified in this bug. Click the scrollbar's block increment / unit increment. You will notice that the image gets rotated to the right and all the colors in the image are inverted (Choose interpolation / rendering from the rendering hints drop-down).
This is not happening for other buffered image types / rendering hints.
- duplicates
- 
                    JDK-4870138 Wrong results/exceptions on LookupOp/RescaleOp with JPEG loaded with ImageIO -           
- Closed
 
-         
- 
                    JDK-4941225 drawImage to a printer under Windows 2000, 16bpp messes up image -           
- Closed
 
-         
- 
                    JDK-4987187 POOR QUALITY/ILLEGIBLE TEXT WHEN PRINTING USING 16 BITS COLOR DEPTH -           
- Closed
 
-         
- 
                    JDK-4507322 REGRESSION: Transformed image copies wrong in 16 bpp on win32 -           
- Closed
 
-         
- 
                    JDK-6424528 Wrong mapping of color happens if one takes print of a swing component in 16 bit color depth -           
- Resolved
 
-         
- relates to
- 
                    JDK-6463111 ConvolveOp(AffineTransformOp).filter() method fails on BufferedImage created by GC -           
- Closed
 
-         
- 
                    JDK-6585922 ImagingOpException from ConvolveOp when input BufferedImage is TYPE_3BYTE_BGR -           
- Resolved
 
-         
- 
                    JDK-6450538 Crash when applying LookupOp on color indexed image -           
- Closed
 
-