double xmin = originX + deltaX * colMin;
double ymax = originY - deltaY * rowMin;
double xmax = xmin + deltaX * createSpread;
double ymin = ymax - deltaY * createSpread;
RenderParam renderParam = new RenderParam();
renderParam.setAntiAlias(mapService.getMapDesc()
.isAntiAlias());
CoordinateReferenceSystem crs = SpatialReferenceManager
.wkidToCRS(sr, true);
ReferencedEnvelope extent = new ReferencedEnvelope(xmin,
xmax, ymin, ymax, crs);
renderParam.setExtent(extent);
renderParam.setImageHeight(createSpread * height);
renderParam.setImageWidth(createSpread * width);
renderParam.setTransparent(supportTransparent);
// Get spread image
MapImage mapImage = map.render(renderParam);
BufferedImage image = mapImage.getImage();