ditherit-v2's Introduction
ditherit-v2's People
Forkers
fourks lartu cxz mscalora antonymarion sulisong emlanctot lyhiving mangor zhengjun-du loicpoulain metaln00b super-visual romain-koenig maxrickettsuy lesageethan dmrschmidt jonathanzuniga freak-phoneditherit-v2's Issues
Add Gamma Correction
from @farteryhr on twitter:
but here's my only one more wish, please add gamma correction.. for reference, see: http://entropymine.com/imageworsener/ https://bisqwit.iki.fi/story/howto/dither/jy/
Ignore transparent pixels when dithering
The current algorithm seems to treat transparent background as black. This is quite annoying when dealing with png images. I wonder if there is a option to reset all the transparent pixels in the input image to transparent in the output?
Weird behavior file size
Hi there,
Thanks for the awesome tool ! Super cool !
There are only 2 things I don't understand and want to clarify :
- Why is the filesize larger than the original when we select the original image size ?
- Why is the filesize larger when we select the origin color palette than when we use black and white ?
Also, would it b possible to dither several images at once?
Thanks so much,
Damien
what's more between implement details and standard methods?
I implemented a version of burkes dither with python, but when testing the same image, i found that the effect was quite different from your algorithm,and your result looked better. so i wanted to know what else besides the basic error diffusion op? and why?
Thx
Serpentine option: span should be label
Line 140 in 1647ff1
Linked to the checkbox id
so <label for="id">
can act as a button.
Better png compression
Possibility of using something like Squoosh API to further compress PNGs before download.
Option to download all images
I uploaded all the frames of an animation and want to download them all now they're dithered but currently the only way to do that is manually going through each frame and clicking download.
Redo palette UI so that all buttons fit in box
Black and White Modes are Stored with 32 Bit Color Depth
When dithering is set to black and white, the dithered images outputted are using 32 bit color depth, which is unnecessary as 1-bit depth could be used instead.
In the example images attached, the output from DitherIt is 9.31 KB:
If converted to 1-bit using a Python Script, we get a size of just 3.86KB, with no loss in image quality:
Would it be possible to add a conversion to 1-bit of BW color modes? I wouldn't mind writing the code and submitting a pull request if so.
Implement a CLI way of calling dither-it
Something like ./ditherit-sli --dither-type=<> --output --pallete=<>
Uncaught TypeError: "width" is read-only
Add more dithering methods
I would like to fix a few naming issues and add some more dithering matrices as a pull request, but I'm unable to find where they're actually located in your code, or are you using something external for the calculations?
Stuck on analyzing pallet
Some photos I try adding get stuck on analyzing pallet, and can’t be dithered unless I manually choose some colors. I’ve tried waiting on these photos for literally hours and it never finishes analyzing. I can’t really find a pattern, but the ones it does this on I’ve never been able to get to work.
:c would really like this fixed. I use this tool a lot. Any work arounds would be helpful too
Make readme image a static asset
Right now readme.md loads a gif, but the name of the file changes when the site is regenerated. Either the link should somehow update with the new name, or the gif should not be updated each time.
Keeps saving to SVG and not PNG
When you are done using the converter and try to download it, it downloads as an SVG but is encoded as a PNG.
Drag & drop image
Feature suggestion: improve UX by allowing to drag any compatible image directly to a drop zone on the homepage, a bit like squoosh.app do.
Ability to control number of default colors detected
Variable tile size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.