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

Method read

ij/src/main/java/ij/plugin/BMP_Reader.java:307–315  ·  view source on GitHub ↗
(InputStream is)

Source from the content-addressed store, hash-verified

305
306
307 public void read(InputStream is) throws IOException, Exception {
308 this.is = is;
309 getFileHeader();
310 getBitmapHeader();
311 if (compression!=0)
312 throw new Exception("Compression not supported");
313 getPalette();
314 getPixelData();
315 }
316
317
318 public MemoryImageSource makeImageSource() {

Callers 1

runMethod · 0.95

Calls 4

getFileHeaderMethod · 0.95
getBitmapHeaderMethod · 0.95
getPaletteMethod · 0.95
getPixelDataMethod · 0.95

Tested by

no test coverage detected