int grayscale = Math.round((shade / 255) * 16);
IMImageObject imImageObject = factory.createIMImageObject();
ImageOutputControl imageOutputControl = new ImageOutputControl(0, 0);
ImageInputDescriptor imageInputDescriptor = new ImageInputDescriptor();
ImageCellPosition imageCellPosition = new ImageCellPosition(xCoord, yCoord);
imageCellPosition.setXFillSize(areaWidth);
imageCellPosition.setYFillSize(areaHeight);
imageCellPosition.setXSize(64);