FPNGe Java API¶
Base Package: com.manticore.tools
Package com.manticore.tools¶
Interfaces¶
Interface |
Description |
|---|---|
Classes¶
Class |
Description |
|---|---|
Class CharArray¶
Package: com.manticore.tools.FPNGE23
public class CharArray extends com.sun.jna.Structure
Field Summary¶
Modifier and Type |
Field |
|---|---|
public com.sun.jna.Pointer |
|
public com.sun.jna.NativeLong |
Field Detail¶
data¶
public com.sun.jna.Pointer data
size¶
public com.sun.jna.NativeLong size
Constructor Summary¶
Constructor |
|---|
Constructor Detail¶
CharArray¶
public CharArray()
Method Summary¶
Modifier and Type |
Method |
|---|---|
protected java.util.List<String> |
Method Detail¶
getFieldOrder¶
protected java.util.List<String> getFieldOrder()
Returns
Interface FPNGE¶
Package: com.manticore.tools
public interface FPNGE extends Encoder
Field Summary¶
Modifier and Type |
Field |
|---|---|
public static final FPNGE23 |
Field Detail¶
ENCODER¶
public static final FPNGE23 ENCODER
Method Summary¶
Modifier and Type |
Method |
|---|---|
public static byte[][] |
|
public abstract CharArray |
Method Detail¶
encode¶
public static byte[][] encode(java.awt.image.BufferedImage image, int numberOfChannels, int comp_level)
Parameters
image — java.awt.image.BufferedImage
numberOfChannels — int
comp_level — int
Returns
byte[][]
FPNGEEncode1¶
public abstract CharArray FPNGEEncode1(com.sun.jna.NativeLong bytes_per_channel, com.sun.jna.NativeLong num_channels, byte[][] pImage, com.sun.jna.NativeLong width, com.sun.jna.NativeLong height, int comp_level)
Parameters
bytes_per_channel — com.sun.jna.NativeLong
num_channels — com.sun.jna.NativeLong
pImage — byte[][]
width — com.sun.jna.NativeLong
height — com.sun.jna.NativeLong
comp_level — int
Returns