Package ij.io
Class RoiEncoder
java.lang.Object
ij.io.RoiEncoder
Saves an ROI to a file or stream. RoiDecoder.java has a description of the file format.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an RoiEncoder using the specified OutputStream.RoiEncoder
(String path) Creates an RoiEncoder using the specified path. -
Method Summary
-
Constructor Details
-
RoiEncoder
Creates an RoiEncoder using the specified path. -
RoiEncoder
Creates an RoiEncoder using the specified OutputStream.
-
-
Method Details
-
save
Saves the specified ROI as a file, returning 'true' if successful. -
write
Save the Roi to the file of stream.- Throws:
IOException
-
saveAsByteArray
Saves the specified ROI as a byte array.
-