static BufferedImage pixImage2buffer(PixImage pImage) {
		BufferedImage bImage = new BufferedImage(pImage.getWidth(),
				pImage.getHeight(), BufferedImage.TYPE_INT_ARGB);
		for (int x = 0; x < bImage.getWidth(); x++) {
			for (int y = 0; y < bImage.getHeight(); y++) {
				bImage.setRGB(x, y,
						new Color(pImage.getRed(x, y), pImage.getGreen(x, y),
								pImage.getBlue(x, y)).getRGB());
			}
		}
		return bImage;
	}