Skip to content

Slider mode to change DCT coefficients across entire image #3

@OmarShehata

Description

@OmarShehata

This came up on Twitter: https://twitter.com/polprogpl/status/1500847424595763201

This is super cool, I kinda expected the slider to remove higher order components from the entire image though :D

This wouldn't be too hard, basically instead of running it for the "chosen block" on the slider here:

// Update the acValues in sequence to 0

You'd want to run it for all blocks. There's an example of how to get all blocks in the image here:

const allBlocks = [];

It would be especially cool hooked up to the mouse wheel (see #2) so you can drag and drop an image, and then scroll wheel to quantize it/compress it in real time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions