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 intprivate intprivate intprivate intFields inherited from class PSDImageResource
id, name, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal BufferedImagefinal intgetWidth()(package private) BufferedImageimageFromRawData(int width, int height, int scanLine, byte[] data) protected voidreadData(ImageInputStream pInput) This default implementation simply skips the data.toString()Methods inherited from class 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:PSDImageResourceThis default implementation simply skips the data.- Overrides:
readDatain 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:
toStringin classPSDImageResource
-