question: public void processAll ( ) throws IOException { for ( Iterator < Entry > i = imageList . iterator ( ) ; i . hasNext ( ) ; ) { Entry entry = ( Entry ) i . next ( ) ; if ( ! entry . written ) { entry . written = true ; PDFStream img = pdf . openStream ( entry . name ) ; img . entry ( "Subtype" , pdf . name ( "Image" ) ) ; if ( entry . maskName != null ) img . entry ( "SMask" , pdf . ref ( entry . maskName ) ) ; img . image ( entry . image , entry . bkg , entry . writeAs ) ; pdf . close ( img ) ; if ( entry . maskName != null ) { PDFStream mask = pdf . openStream ( entry . maskName ) ; mask . entry ( "Subtype" , pdf . name ( "Image" ) ) ; mask . imageMask ( entry . image , entry . writeAs ) ; pdf . close ( mask ) ; } } } }
target:  Creates a stream for every delayed image that is not written yet. 