comment out per-decompress checksum and logging
This commit is contained in:
parent
2cedf48397
commit
a14b8fae2a
|
@ -1312,8 +1312,8 @@ encHandlers.TIGHT = function display_tight() {
|
||||||
var uncompressed = FBU.zlibs[streamId].uncompress(data, 0);
|
var uncompressed = FBU.zlibs[streamId].uncompress(data, 0);
|
||||||
if (uncompressed.status !== 0)
|
if (uncompressed.status !== 0)
|
||||||
throw("Invalid data in zlib stream");
|
throw("Invalid data in zlib stream");
|
||||||
Util.Warn("Decompressed " + data.length + " to " + uncompressed.data.length + " checksums " +
|
//Util.Warn("Decompressed " + data.length + " to " + uncompressed.data.length + " checksums " +
|
||||||
checksum(data) + ":" + checksum(uncompressed.data));
|
// checksum(data) + ":" + checksum(uncompressed.data));
|
||||||
|
|
||||||
return uncompressed.data;
|
return uncompressed.data;
|
||||||
}
|
}
|
||||||
|
@ -1347,6 +1347,7 @@ encHandlers.TIGHT = function display_tight() {
|
||||||
data = decompress(ws.rQshiftBytes(clength[1]));
|
data = decompress(ws.rQshiftBytes(clength[1]));
|
||||||
|
|
||||||
// Convert indexed (palette based) image data to RGB
|
// Convert indexed (palette based) image data to RGB
|
||||||
|
// TODO: reduce number of calculations inside loop
|
||||||
var dest = [];
|
var dest = [];
|
||||||
var x, y, b;
|
var x, y, b;
|
||||||
if (numColors == 2) {
|
if (numColors == 2) {
|
||||||
|
|
Loading…
Reference in New Issue