private Image getGIFImage(File imageFile) {
		BufferedImage gifImage = readImage(imageFile);
		Graphics2D g = (Graphics2D) gifImage.getGraphics();

		int width = gifImage.getWidth();
		int height = gifImage.getHeight();

		Font font = g.getFont().deriveFont((float) (height * .3));
		g.setFont(font);

		String text = "GIF!";
		FontMetrics fontMetrics = g.getFontMetrics(font);
		Rectangle bounds = fontMetrics.getStringBounds(text, g).getBounds();
		int stringWidth = (int) bounds.getWidth();
		int stringHeight = (int) bounds.getHeight();

		int x = (width / 2) - (stringWidth / 2);
		int y = (height / 2) + (stringHeight / 2);
		g.setColor(FG_COLOR_TEXT);
		g.drawString(text, x, y);

		return gifImage;
	}
Call when you are finished generating a new image.  This method will either show the
newly created image or write it to disk, depending upon the value of
{@link #SAVE_CREATED_IMAGE_FILE}, which is a system property.

@param helpTopic The help topic that contains the image
@param oldImageName  The name of the image
Ghidra/Features/Base/src/main/java/help/screenshot/GhidraScreenShotGenerator.java