Commit a14b8fae authored by Mike Tinglof's avatar Mike Tinglof

comment out per-decompress checksum and logging

parent 2cedf483
...@@ -1312,8 +1312,8 @@ encHandlers.TIGHT = function display_tight() { ...@@ -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() { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment