MCPcopy Create free account
hub / github.com/TruthHun/BookStack / init

Function init

static/webuploader/webuploader.js:6253–6265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6251 }
6252
6253 function init(){
6254 // var time_start = new Date().getTime();
6255 if(!quality) quality = 50;
6256 // Create tables
6257 initCharLookupTable()
6258 initHuffmanTbl();
6259 initCategoryNumber();
6260 initRGBYUVTable();
6261
6262 setQuality(quality);
6263 // var duration = new Date().getTime() - time_start;
6264 // console.log('Initialization '+ duration + 'ms');
6265 }
6266
6267 init();
6268

Callers 1

JPEGEncoderFunction · 0.70

Calls 5

initCharLookupTableFunction · 0.70
initHuffmanTblFunction · 0.70
initCategoryNumberFunction · 0.70
initRGBYUVTableFunction · 0.70
setQualityFunction · 0.70

Tested by

no test coverage detected