MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / LZWEncoder2

Method LZWEncoder2

ij/src/main/java/ij/plugin/GifWriter.java:1061–1067  ·  view source on GitHub ↗
(int width, int height, byte[] pixels, int color_depth)

Source from the content-addressed store, hash-verified

1059
1060 //----------------------------------------------------------------------------
1061 LZWEncoder2(int width, int height, byte[] pixels, int color_depth)
1062 {
1063 imgW = width;
1064 imgH = height;
1065 pixAry = pixels;
1066 initCodeSize = Math.max(2, color_depth);
1067 }
1068
1069
1070 // Add a character to the end of the current packet, and if it is 254

Callers

nothing calls this directly

Calls 1

maxMethod · 0.45

Tested by

no test coverage detected