public abstract class FileFormat extends Object
Constructor and Description |
---|
FileFormat() |
Modifier and Type | Method and Description |
---|---|
static ImageData[] |
load(InputStream is,
ImageLoader loader)
Read the specified input stream using the specified loader, and
return the device independent image array represented by the stream.
|
ImageData[] |
loadFromStream(org.eclipse.swt.internal.image.LEDataInputStream stream)
Read the specified input stream, and return the
device independent image array represented by the stream.
|
static void |
save(OutputStream os,
int format,
ImageLoader loader)
Write the device independent image array stored in the specified loader
to the specified output stream using the specified file format.
|
void |
unloadIntoStream(ImageLoader loader,
org.eclipse.swt.internal.image.LEDataOutputStream stream)
Write the device independent image array stored in the specified loader
to the specified output stream.
|
public ImageData[] loadFromStream(org.eclipse.swt.internal.image.LEDataInputStream stream)
public static ImageData[] load(InputStream is, ImageLoader loader)
public static void save(OutputStream os, int format, ImageLoader loader)
public void unloadIntoStream(ImageLoader loader, org.eclipse.swt.internal.image.LEDataOutputStream stream)
Copyright © 2017. All Rights Reserved.