public class ApngExtractFrames
extends java.lang.Object
| Constructor and Description |
|---|
ApngExtractFrames() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getFileName(java.io.File sourceFile,
int frameIndex)
Get a formatted file name for a PNG file, which is extracted from the source at a specific frame index
|
static int |
process(java.io.File orig)
Reads a APNG file and tries to split it into its frames - low level! Returns number of animation frames extracted
|
public static java.lang.String getFileName(java.io.File sourceFile,
int frameIndex)
sourceFile - Source fileframeIndex - Position of the framepublic static int process(java.io.File orig)