mirror of
https://github.com/javl/image2cpp.git
synced 2026-07-27 19:56:07 +00:00
remove logging
This commit is contained in:
@@ -11,9 +11,7 @@ const bwPalette = [
|
||||
|
||||
|
||||
function dithering(ctx, width, height, threshold, typeIndex) {
|
||||
console.log('typeindex: ', typeIndex);
|
||||
const type = ['binary', 'bayer', 'floysteinberg', 'atkinson'][typeIndex];
|
||||
console.log('type: ', type);
|
||||
const bayerThresholdMap = [
|
||||
[ 15, 135, 45, 165 ],
|
||||
[ 195, 75, 225, 105 ],
|
||||
|
||||
@@ -770,7 +770,6 @@
|
||||
|
||||
// Easy way to update settings controlled by a textfield
|
||||
function updateInteger(fieldName){
|
||||
console.log('get fieldname', fieldName);
|
||||
settings[fieldName] = document.getElementById(fieldName).value;
|
||||
update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user