javascript Programming Glossary: tbuffer
HTML5 Canvas Resize (Downscale) Image High Quality? http://stackoverflow.com/questions/18922880/html5-canvas-resize-downscale-image-high-quality getImageData 0 0 sw sh .data source buffer 8 bit rgba var tBuffer new Float32Array 3 sw sh target buffer Float32 rgb var sR 0.. not cross just add components weighted by squared scale. tBuffer tIndex sR sqScale tBuffer tIndex 1 sG sqScale tBuffer tIndex.. weighted by squared scale. tBuffer tIndex sR sqScale tBuffer tIndex 1 sG sqScale tBuffer tIndex 2 sB sqScale else if crossX..
|