Method
LZWEncoder2
(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
Tested by
no test coverage detected