SpliceNFT / splicenft

Splice renders deterministic, validated header images for existing NFTs. Generally it breeds new NFTs out of seed NFTs using style NFTs as a ruleset.
https://getsplice.io/
MIT License
20 stars 3 forks source link

rewrote color extraction #153 #164

Closed elmariachi111 closed 2 years ago

elmariachi111 commented 2 years ago

153 color extraction based on image-q

moves all color related stuff to its own color package drops old "extractor" package adds cli package (currently for general testing of color package) color extraction happens on the backend, adjusted dapp accordingly ~~if the cjs/esm issues are fixed (https://github.com/ibezkrovnyi/image-quantization/issues/92) we could also extract a palette on the frontend again. ~~ color extraction can be delegated to the backend always using proxy urls to get remote image on the frontend. Saves 2 network roundtrips.

Sample of extraction results: https://ipfs.getsplice.io/ipfs/QmUZ1EUcfHjYvYPhnDXYCHupX72pyUjwVpo1LMZz9EjAkn/out.html