docs: protected void applyImageBannersToBand(JRDesignBand band, Collection imageBanners, JRDesignExpression printWhenExpression, boolean placeOnTop ) {
  		int maxHeight = 0;
          if (placeOnTop){
  			for (Object imageBanner1 : imageBanners) {
  				ImageBanner imageBanner = (ImageBanner) imageBanner1;
  				if (imageBanner.getHeight() > maxHeight)
  					maxHeight = imageBanner.getHeight();
  			}
          } else {
              maxHeight = LayoutUtils.findVerticalOffset(band);
          }
  
  		if (band != null){
  			//move everything down
              if (placeOnTop){
  				for (JRChild jrChild : band.getChildren()) {
  					JRDesignElement element = (JRDesignElement) jrChild;
  					element.setY(element.getY() + maxHeight);
  				}
              }
              int yPosition = 0;
              if (!placeOnTop)
                  yPosition = maxHeight+1;
  
  			for (Object imageBanner1 : imageBanners) {
  				ImageBanner imageBanner = (ImageBanner) imageBanner1;
  				String path = "\"" + imageBanner.getImagePath().replaceAll("\\\\", "/") + "\"";
  				JRDesignImage image = new JRDesignImage(new JRDesignStyle().getDefaultStyleProvider());
  				JRDesignExpression imageExp = new JRDesignExpression();
  				imageExp.setText(path);
  
  				imageExp.setValueClass(String.class);
  				image.setExpression(imageExp);
  				image.setHeight(imageBanner.getHeight());
  				image.setWidth(imageBanner.getWidth());
  				image.setPrintWhenExpression(printWhenExpression);
  				image.setRemoveLineWhenBlank(true);
  				image.setScaleImage(ScaleImageEnum.getByValue(imageBanner.getScaleMode().getValue()));
  
  				if (imageBanner.getAlign() == ImageBanner.Alignment.Left)
  					image.setX(0);
  				else if (imageBanner.getAlign() == ImageBanner.Alignment.Right)
  					image.setX(getReport().getOptions().getPage().getWidth() - getReport().getOptions().getLeftMargin() - getReport().getOptions().getRightMargin() - imageBanner.getWidth());
  				else if (imageBanner.getAlign() == ImageBanner.Alignment.Center) {
  					int x = (getReport().getOptions().getPage().getWidth() -
  							getReport().getOptions().getRightMargin() -
  							getReport().getOptions().getLeftMargin() - imageBanner.getWidth()) / 2;
  					image.setX(getReport().getOptions().getLeftMargin() + x);
  				}
  
  
  				image.setY(yPosition);
  				band.addElement(image);
  
  			}
  			band.setHeight(band.getHeight() + maxHeight);
  		}
  	}