MCPcopy Create free account
hub / github.com/ImageOptim/libimagequant / close

Method close

imagequant-sys/org/pngquant/Image.java:45–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 public native int getHeight();
44
45 public void close() {
46 if (handle != 0) {
47 liq_image_destroy(handle);
48 handle = 0;
49 }
50 }
51
52 private static long handleFromImage(PngQuant attr, BufferedImage image) {
53 // The JNI wrapper will accept non-premultiplied ABGR and BGR only.

Callers 1

getRemappedMethod · 0.95

Calls 1

liq_image_destroyMethod · 0.95

Tested by

no test coverage detected