Git Product home page Git Product logo

ditherit-v2's Introduction

Hi there 👋

ditherit-v2's People

Contributors

alexharris avatar bradfora avatar metaln00b avatar roshavagarga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ditherit-v2's Issues

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

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?

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.

Better png compression

Possibility of using something like Squoosh API to further compress PNGs before download.

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 ?
    image
  • Why is the filesize larger when we select the origin color palette than when we use black and white ?
    image
    image

Also, would it b possible to dither several images at once?

Thanks so much,
Damien

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:
32-bit

If converted to 1-bit using a Python Script, we get a size of just 3.86KB, with no loss in image quality:
1-bit

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.

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.

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

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?

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.

Variable tile size

From: @AryEstLa

Create ability to add "larger pixels", or "tiles" as done in RGBitsy.

Screen Shot 2020-11-26 at 9 53 24 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.