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

Method getSerializedImage

ij/src/main/java/ij/gui/ImageRoi.java:82–85  ·  view source on GitHub ↗

Returns a serialized version of the image.

()

Source from the content-addressed store, hash-verified

80
81 /** Returns a serialized version of the image. */
82 public byte[] getSerializedImage() {
83 ImagePlus imp = new ImagePlus("",img);
84 return new FileSaver(imp).serialize();
85 }
86
87 /** Returns the current opacity. */
88 public double getOpacity() {

Callers 1

saveImageRoiMethod · 0.80

Calls 1

serializeMethod · 0.45

Tested by

no test coverage detected