src/main/java/eu/digitisation/image/Bimage.java
public Bimage toRGB() {
        Bimage bim = new Bimage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB);
        Graphics2D g = bim.createGraphics();
        g.drawImage(this, 0, 0, null);
        g.dispose();
        return bim;
    }
/**
     * Transform image to RGB
     *
     * @return this image as RGB image
     */
Transform image to RGB
@return this image as RGB image
Transform image to RGB @return this image as RGB image
public Bimage toRGB() {
        Bimage bim = new Bimage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB);
        Graphics2D g = bim.createGraphics();
        g.drawImage(this, 0, 0, null);
        g.dispose();
        return bim;
    }
public Bimage toRGB ( ) { Bimage bim = new Bimage ( getWidth ( ) , getHeight ( ) , BufferedImage . TYPE_INT_RGB ) ; Graphics2D g = bim . createGraphics ( ) ; g . drawImage ( this , 0 , 0 , null ) ; g . dispose ( ) ; return bim ; }
Transform image to RGB
 @return this image as RGB image
Transform image to RGB @return this image as RGB image