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

Function init

static/webuploader/webuploader.custom.js:6264–6276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6262 }
6263
6264 function init(){
6265 // var time_start = new Date().getTime();
6266 if(!quality) quality = 50;
6267 // Create tables
6268 initCharLookupTable()
6269 initHuffmanTbl();
6270 initCategoryNumber();
6271 initRGBYUVTable();
6272
6273 setQuality(quality);
6274 // var duration = new Date().getTime() - time_start;
6275 // console.log('Initialization '+ duration + 'ms');
6276 }
6277
6278 init();
6279

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