|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| FileSaver (ImagePlus imp) | |
| boolean | save () |
| boolean | saveAsTiff () |
| boolean | saveAsTiff (String path) |
| boolean | saveAsTiffStack (String path) |
| boolean | saveAsZip () |
| boolean | saveAsZip (String path) |
| boolean | saveAsGif () |
| boolean | saveAsGif (String path) |
| boolean | saveAsJpeg () |
| boolean | saveAsJpeg (String path) |
| boolean | saveAsBmp () |
| boolean | saveAsBmp (String path) |
| boolean | saveAsPng () |
| boolean | saveAsPng (String path) |
| boolean | saveAsRaw () |
| boolean | saveAsRaw (String path) |
| boolean | saveAsRawStack (String path) |
| boolean | saveAsText () |
| boolean | saveAsText (String path) |
| boolean | saveAsLut () |
| boolean | saveAsLut (String path) |
Static Public Member Functions | |
| static boolean | okForGif (ImagePlus imp) |
| static boolean | okForJpeg (ImagePlus imp) |
Saves images in tiff, gif, jpeg, raw, zip and text format.
Definition at line 14 of file FileSaver.java.
Constructs a FileSaver from an ImagePlus.
Definition at line 23 of file FileSaver.java.
|
inlinestatic |
Always returns true.
Definition at line 174 of file FileSaver.java.
|
inline |
Resaves the image. Calls saveAsTiff() if this is a new image or if the image was loaded using a URL. Returns false if saveAsTiff() is called and the user selects cancel in the file save dialog box.
Definition at line 31 of file FileSaver.java.
|
inline |
Save the image in BMP format using a save file dialog. Returns false if the user selects cancel.
Definition at line 202 of file FileSaver.java.
|
inline |
Save the image in BMP format using the specified path.
Definition at line 211 of file FileSaver.java.
|
inline |
Save the image in GIF format using a save file dialog. Returns false if the user selects cancel or the image is not 8-bits.
Definition at line 141 of file FileSaver.java.
|
inline |
Save the image in Gif format using the specified path. Returns false if the image is not 8-bits or there is an I/O error.
Definition at line 155 of file FileSaver.java.
|
inline |
Save the image in JPEG format using a save file dialog. Returns false if the user selects cancel.
Definition at line 180 of file FileSaver.java.
|
inline |
Save the image in JPEG format using the specified path.
Definition at line 189 of file FileSaver.java.
|
inline |
Save the current LUT using a save file dialog. Returns false if the user selects cancel.
Definition at line 300 of file FileSaver.java.
|
inline |
Save the current LUT using the specified path.
Definition at line 312 of file FileSaver.java.
|
inline |
Save the image in PNG format using a save file dialog. Returns false if the user selects cancel. Requires java 1.4 or later.
Definition at line 219 of file FileSaver.java.
|
inline |
Save the image in PNG format using the specified path. Requires Java 1,4 or later.
Definition at line 233 of file FileSaver.java.
|
inline |
Save the image or stack as raw data using a save file dialog. Returns false if the user selects cancel.
Definition at line 240 of file FileSaver.java.
|
inline |
Save the image as raw data using the specified path.
Definition at line 251 of file FileSaver.java.
|
inline |
Save the stack as raw data using the specified path.
Definition at line 268 of file FileSaver.java.
|
inline |
Save the image as tab-delimited text using a save file dialog. Returns false if the user selects cancel.
Definition at line 274 of file FileSaver.java.
|
inline |
Save the image as tab-delimited text using the specified path.
Definition at line 282 of file FileSaver.java.
|
inline |
Save the image or stack in TIFF format using a save file dialog. Returns false if the user selects cancel.
Definition at line 58 of file FileSaver.java.
|
inline |
Save the image in TIFF format using the specified path.
Definition at line 69 of file FileSaver.java.
|
inline |
Save the stack as a multi-image TIFF using the specified path.
Definition at line 87 of file FileSaver.java.
|
inline |
Uses a save file dialog to save the image or stack as a TIFF in a ZIP archive. Returns false if the user selects cancel.
Definition at line 93 of file FileSaver.java.
|
inline |
Save the image or stack in TIFF/ZIP format using the specified path.
Definition at line 102 of file FileSaver.java.