OmarShehata/jpeg-sandbox
关于
Interactively edit individual DCT blocks in any JPEG image in the browser.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文JPEG Sandbox
This is a very barebones editor that supports clicking on any pixel in a JPEG image to see the 64 DCT coefficients that make up that 8x8 block. Each individual coefficient can be edited through text. You can also use the slider to zero out coefficients one by one starting with the lowest absolute value (which is what you'd do during compression) or reverse that to see what it would look like to throw away the most important coefficients first.
Live demo: https://omarshehata.github.io/jpeg-sandbox/

It also visualizes the coefficients that make up each individual block in order of their weight.

I created this to help with explaining how JPEG works for a talk at CodeBar 2022.
Cat picture by Mikhail Vasilyev. Also inspired by the visualization in https://www.jezzamon.com/fourier/.
See also my Unraveling the JPEG article.
Local setup
Run yarn to install dependencies and yarn dev to run. Run the app on localhost:3000.
探索相关项目
加载中…