mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-27 16:58:09 +01:00
286f7c643f
When this option is enabled all png images will be converted to PNG-8 (8 bit per pixel).
20 lines
421 B
Java
20 lines
421 B
Java
package org.pngquant;
|
|
|
|
abstract class LiqObject {
|
|
static {
|
|
// libimagequant.jnilib or libimagequant.so must be in java.library.path
|
|
System.loadLibrary("imagequant");
|
|
}
|
|
|
|
long handle;
|
|
|
|
/**
|
|
* Free memory used by the library. The object must not be used after this call.
|
|
*/
|
|
abstract public void close();
|
|
|
|
protected void finalize() throws Throwable {
|
|
close();
|
|
}
|
|
}
|