newOptions = new ome.codecs.HuffmanCodecOptions(); copyOptions(options, newOptions); ((ome.codecs.HuffmanCodecOptions) newOptions).table = ((HuffmanCodecOptions) options).table;
newOptions = new ome.codecs.HuffmanCodecOptions(); copyOptions(options, newOptions); ((ome.codecs.HuffmanCodecOptions) newOptions).table = ((HuffmanCodecOptions) options).table;
HuffmanCodecOptions huffmanOptions = new HuffmanCodecOptions(); huffmanOptions.bitsPerSample = bitsPerSample; huffmanOptions.maxBytes = buf.length / nComponents;