Class PSDThumbnail
java.lang.Object
com.twelvemonkeys.imageio.plugins.psd.PSDImageResource
com.twelvemonkeys.imageio.plugins.psd.PSDThumbnail
PSDThumbnail
- Version:
- $Id: PSDThumbnail.java,v 1.0 Jul 29, 2009 4:41:06 PM haraldk Exp$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private int
private int
private int
private int
Fields inherited from class com.twelvemonkeys.imageio.plugins.psd.PSDImageResource
id, name, size
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final BufferedImage
final int
getWidth()
(package private) BufferedImage
imageFromRawData
(int width, int height, int scanLine, byte[] data) protected void
readData
(ImageInputStream pInput) This default implementation simply skips the data.toString()
Methods inherited from class com.twelvemonkeys.imageio.plugins.psd.PSDImageResource
read, resourceTypeForId, toStringBuilder
-
Field Details
-
format
private int format -
width
private int width -
height
private int height -
widthBytes
private int widthBytes -
data
private byte[] data
-
-
Constructor Details
-
PSDThumbnail
- Throws:
IOException
-
-
Method Details
-
readData
Description copied from class:PSDImageResource
This default implementation simply skips the data.- Overrides:
readData
in classPSDImageResource
- Parameters:
pInput
- the input- Throws:
IOException
- if an I/O exception occurs
-
imageFromRawData
-
getWidth
public final int getWidth() -
getHeight
public final int getHeight() -
getThumbnail
- Throws:
IOException
-
toString
- Overrides:
toString
in classPSDImageResource
-