public void setTileData ( BufferedImage image , String imageFormat ) throws IOException { byte [ ] bytes = ImageUtils . writeImageToBytes ( image , imageFormat ) ; setTileData ( bytes ) ; }
Set the tile data from an image