MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / saveBitmap

Method saveBitmap

ij/src/main/java/ij/plugin/BMP_Writer.java:84–90  ·  view source on GitHub ↗
(String parFilename, Image parImage, int parWidth, int parHeight)

Source from the content-addressed store, hash-verified

82
83
84 public void saveBitmap (String parFilename, Image parImage, int parWidth, int parHeight) throws Exception {
85 fo = new FileOutputStream (parFilename);
86 bfo = new BufferedOutputStream(fo);
87 save (parImage, parWidth, parHeight);
88 bfo.close();
89 fo.close ();
90 }
91
92 /*
93 * The saveMethod is the main method of the process. This method

Callers 1

writeImageMethod · 0.95

Calls 2

saveMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected