question: public boolean generate ( Projection proj ) { if ( ! position ( proj ) ) { Debug . message ( "omgraphic" , "OMBitmap: positioning failed in generate!" ) ; return false ; } if ( getNeedToRegenerate ( ) || bitmap == null ) { int [ ] imagePixels = computePixels ( bits ) ; pixels = imagePixels ; BufferedImage bi = new BufferedImage ( width , height , BufferedImage . TYPE_INT_ARGB ) ; bi . setRGB ( 0 , 0 , width , height , imagePixels , 0 , width ) ; setImage ( bi ) ; } if ( imageFilter != null ) { setImage ( filterImage ( bitmap ) ) ; } setShape ( ) ; setNeedToRegenerate ( false ) ; return true ; }
target:  Create the rendered image from the pixel values.