Update imageprocessing.js