@Deprecated
  public static void writeToFile(BitMatrix matrix, String format, File file, MatrixToImageConfig config) 
      throws IOException {
    writeToPath(matrix, format, file.toPath(), config);
  }
@ Deprecated public static void writeToFile ( BitMatrix matrix , String format , File file , MatrixToImageConfig config ) throws IOException { writeToPath ( matrix , format , file . toPath ( ) , config ) ; }
@param matrix {@link BitMatrix} to write
@param format image format
@param file file {@link File} to write image to
@param config output configuration
@throws IOException if writes to the file fail
@deprecated use {@link #writeToPath(BitMatrix, String, Path, MatrixToImageConfig)}