question: public void image ( RenderedImage image , Color bkg , String encode ) throws IOException { ImageBytes bytes = new ImageBytes ( image , bkg , encode , ImageConstants . COLOR_MODEL_RGB ) ; entry ( "Width" , image . getWidth ( ) ) ; entry ( "Height" , image . getHeight ( ) ) ; entry ( "ColorSpace" , pdf . name ( "DeviceRGB" ) ) ; entry ( "BitsPerComponent" , 8 ) ; entry ( "Filter" , getFilterName ( bytes . getFormat ( ) ) ) ; write ( bytes . getBytes ( ) ) ; }
target:  Image convenience function (see Table 4.35). Ouputs the data of the image using "DeviceRGB" colorspace, and the requested encodings