src/main/java/eu/digitisation/image/Bimage.java
public void write(java.io.File file)
            throws IOException {
        Format format = Format.valueOf(file);
        JAI.create("filestore", this,
                file.getCanonicalPath(), format.toString());
        //javax.imageio.ImageIO.write(this, format, file);
    }
/**
     * Write the image to a file
     *
     * @param file the output file
     * @throws java.io.IOException
     */
Write the image to a file
@param file the output file
@throws java.io.IOException
Write the image to a file @param file the output file @throws java . io . IOException
public void write(java.io.File file)
            throws IOException {
        Format format = Format.valueOf(file);
        JAI.create("filestore", this,
                file.getCanonicalPath(), format.toString());
    }
public void write ( java . io . File file ) throws IOException { Format format = Format . valueOf ( file ) ; JAI . create ( "filestore" , this , file . getCanonicalPath ( ) , format . toString ( ) ) ; }
Write the image to a file
 @param file the output file
 @throws java.io.IOException
Write the image to a file @param file the output file @throws java . io . IOException
//javax.imageio.ImageIO.write(this, format, file);