{
ByteArrayInputStream is = new ByteArrayInputStream(background);
JPEGImgDecoder decoder = new DefaultJPEGImgDecoder();
try
{
this.image = decoder.decodeAsBufferedImage(is);
this.width = image.getWidth();
this.height = image.getHeight();
emptyBackground = false;
}
catch (Exception e)