public class Photo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
Photo() |
Photo(long cPtr,
boolean cMemoryOwn) |
Photo(Photo photo) |
| Modifier and Type | Method and Description |
|---|---|
Image |
createThumbnail(int width,
int height)
Create new thumbnail with specified dimensions.
|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Photo obj) |
long |
getLayer()
Layer index in the image file.
|
MetaData |
getMeta()
Photo meta data.
|
java.lang.String |
getPath()
Path to the image file.
|
Image |
loadImage(java.lang.String channels,
DataType data_type)
Load image data.
|
void |
setLayer(long layer)
Layer index in the image file.
|
void |
setMeta(MetaData meta)
Photo meta data.
|
void |
setPath(java.lang.String path)
Path to the image file.
|
public Photo(long cPtr,
boolean cMemoryOwn)
public Photo()
public Photo(Photo photo)
public static long getCPtr(Photo obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void setPath(java.lang.String path)
public java.lang.String getPath()
public void setLayer(long layer)
public long getLayer()
public void setMeta(MetaData meta)
public MetaData getMeta()
public Image loadImage(java.lang.String channels, DataType data_type)
public Image createThumbnail(int width, int height)
width - Thumbnail width.height - Thumbnail height.