Tag » DCT

A JPEG Decoder in JavaScript

The JavaScript code below represents an incomplete and buggy attempt to implement a simple JPEG decoder. To see it in action, copy it into an .html file, open that file in a a web browser that runs JavaScript, and click the Upload button to load a specified JPEG image file. 2.733 kata lagi

The Discrete Cosine Transform in JavaScript

The discrete cosine transform, or “DCT”, is used to convert a signal in the spatial domain (for example, a sound or an image) into an equivalent signal in the frequency domain. 1.145 kata lagi