Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/io/FileSaver.html
Дата изменения: Thu Dec 2 23:03:11 2010 Дата индексирования: Mon Oct 1 21:42:20 2012 Кодировка: Поисковые слова: m 17 |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.io.FileSaver
public class FileSaver
Saves images in tiff, gif, jpeg, raw, zip and text format.
Field Summary | |
---|---|
static int |
DEFAULT_JPEG_QUALITY
|
Constructor Summary | |
---|---|
FileSaver(ImagePlus imp)
Constructs a FileSaver from an ImagePlus. |
Method Summary | |
---|---|
java.lang.String |
getDescriptionString()
Returns a string containing information about the specified image. |
static int |
getJpegQuality()
Returns the current JPEG quality setting (0-100). |
static boolean |
okForFits(ImagePlus imp)
|
static boolean |
okForGif(ImagePlus imp)
|
static boolean |
okForJpeg(ImagePlus imp)
Always returns true. |
boolean |
save()
Resaves the image. |
boolean |
saveAsBmp()
Save the image in BMP format using a save file dialog. |
boolean |
saveAsBmp(java.lang.String path)
Save the image in BMP format using the specified path. |
boolean |
saveAsFits()
Save the image in FITS format using a save file dialog. |
boolean |
saveAsFits(java.lang.String path)
Save the image in FITS format using the specified path. |
boolean |
saveAsGif()
Save the image in GIF format using a save file dialog. |
boolean |
saveAsGif(java.lang.String path)
Save the image in Gif format using the specified path. |
boolean |
saveAsJpeg()
Save the image in JPEG format using a save file dialog. |
boolean |
saveAsJpeg(java.lang.String path)
Save the image in JPEG format using the specified path. |
boolean |
saveAsLut()
Save the current LUT using a save file dialog. |
boolean |
saveAsLut(java.lang.String path)
Save the current LUT using the specified path. |
boolean |
saveAsPgm()
Saves grayscale images in PGM (portable graymap) format and RGB images in PPM (portable pixmap) format, using a save file dialog. |
boolean |
saveAsPgm(java.lang.String path)
Saves grayscale images in PGM (portable graymap) format and RGB images in PPM (portable pixmap) format, using the specified path. |
boolean |
saveAsPng()
Save the image in PNG format using a save file dialog. |
boolean |
saveAsPng(java.lang.String path)
Save the image in PNG format using the specified path. |
boolean |
saveAsRaw()
Save the image or stack as raw data using a save file dialog. |
boolean |
saveAsRaw(java.lang.String path)
Save the image as raw data using the specified path. |
boolean |
saveAsRawStack(java.lang.String path)
Save the stack as raw data using the specified path. |
boolean |
saveAsText()
Save the image as tab-delimited text using a save file dialog. |
boolean |
saveAsText(java.lang.String path)
Save the image as tab-delimited text using the specified path. |
boolean |
saveAsTiff()
Save the image or stack in TIFF format using a save file dialog. |
boolean |
saveAsTiff(java.lang.String path)
Save the image in TIFF format using the specified path. |
boolean |
saveAsTiffStack(java.lang.String path)
Save the stack as a multi-image TIFF using the specified path. |
boolean |
saveAsZip()
Uses a save file dialog to save the image or stack as a TIFF in a ZIP archive. |
boolean |
saveAsZip(java.lang.String path)
Save the image or stack in TIFF/ZIP format using the specified path. |
static void |
setJpegQuality(int quality)
Specifies the image quality (0-100). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_JPEG_QUALITY
Constructor Detail |
---|
public FileSaver(ImagePlus imp)
Method Detail |
---|
public boolean save()
public boolean saveAsTiff()
public boolean saveAsTiff(java.lang.String path)
public boolean saveAsTiffStack(java.lang.String path)
public boolean saveAsZip()
public boolean saveAsZip(java.lang.String path)
public static boolean okForGif(ImagePlus imp)
public boolean saveAsGif()
public boolean saveAsGif(java.lang.String path)
public static boolean okForJpeg(ImagePlus imp)
public boolean saveAsJpeg()
setJpegQuality
,
getJpegQuality
public boolean saveAsJpeg(java.lang.String path)
setJpegQuality
,
getJpegQuality
public boolean saveAsBmp()
public boolean saveAsBmp(java.lang.String path)
public boolean saveAsPgm()
public boolean saveAsPgm(java.lang.String path)
public boolean saveAsPng()
public boolean saveAsPng(java.lang.String path)
public boolean saveAsFits()
public boolean saveAsFits(java.lang.String path)
public static boolean okForFits(ImagePlus imp)
public boolean saveAsRaw()
public boolean saveAsRaw(java.lang.String path)
public boolean saveAsRawStack(java.lang.String path)
public boolean saveAsText()
public boolean saveAsText(java.lang.String path)
public boolean saveAsLut()
public boolean saveAsLut(java.lang.String path)
public java.lang.String getDescriptionString()
public static void setJpegQuality(int quality)
public static int getJpegQuality()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |