public class AsfTagBannerField extends AsfTagField
toWrap
Constructor and Description |
---|
AsfTagBannerField()
Creates an instance with no image data.
|
AsfTagBannerField(byte[] imageData)
Creates an instance with specified data as image content.
|
AsfTagBannerField(MetadataDescriptor descriptor)
Creates an instance with given descriptor as image content.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
getImage()
This method returns an image instance from the
image content.
|
int |
getImageDataSize()
Returns the size of the image data.
|
byte[] |
getRawImageData()
Returns the raw data of the represented image.
|
clone, copyContent, getDescriptor, getId, getRawContent, isBinary, isBinary, isCommon, isEmpty, toString
public AsfTagBannerField()
public AsfTagBannerField(MetadataDescriptor descriptor)
descriptor
- image content.public AsfTagBannerField(byte[] imageData)
imageData
- image content.public int getImageDataSize()
public byte[] getRawImageData()
public BufferedImage getImage() throws IOException
IOException
Copyright © 2005–2020 jthink.net. All rights reserved.