Package pixy.image.png
Class IHDRBuilder
java.lang.Object
pixy.image.png.ChunkBuilder
pixy.image.png.IHDRBuilder
public class IHDRBuilder extends ChunkBuilder implements Builder<Chunk>
PNG IHDR chunk builder
- Version:
- 1.0 04/25/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Constructor Summary
Constructors Constructor Description IHDRBuilder()
-
Method Summary
Modifier and Type Method Description IHDRBuilder
bitDepth(int bitDepth)
protected byte[]
buildData()
IHDRBuilder
colorType(ColorType colorType)
IHDRBuilder
compressionMethod(int compressionMethod)
IHDRBuilder
filterMethod(int filterMethod)
IHDRBuilder
height(int height)
IHDRBuilder
interlaceMethod(int interlaceMethod)
IHDRBuilder
width(int width)
-
Constructor Details
-
IHDRBuilder
public IHDRBuilder()
-
-
Method Details
-
width
-
height
-
bitDepth
-
colorType
-
compressionMethod
-
filterMethod
-
interlaceMethod
-
buildData
protected byte[] buildData()- Specified by:
buildData
in classChunkBuilder
-