Giter VIP home page Giter VIP logo

mcychan / nquantcpp Goto Github PK

View Code? Open in Web Editor NEW
107.0 7.0 9.0 2.28 MB

nQuantCpp includes top 6 color quantization algorithms for visual c++ producing high quality optimized images.

Home Page: http://imgv64.rf.gd

License: GNU General Public License v3.0

C++ 99.56% C 0.09% CMake 0.35%
color-quantization quantization-algorithms dl3-quantization error-diffusion image-processing cielab visual-cpp dithering unsupervised-clustering median-cut

nquantcpp's People

Contributors

mcychan 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  avatar  avatar  avatar  avatar

nquantcpp's Issues

Linux

Hi,

The source contains some hints that it once compiled on Linux, but currently it does not because it depends on GdiPlus. Is there a way I don't know about to compile it? I looked into libgdiplus but that doesn't provide any headers.

If not, would it suffice to replace the GdiplusStartup code in main and write a minimal Bitmap class from scratch, or does it need more from GDI? What do you think?

Regards,
Ivo

DL3 algorithm not available in exe

There doesn't seem to be an option to quantize using the Dennis Lee v3 algorithm in the executable. The options listed are PNN, PNNLAB, NEU, WU, EAS, SPA, DIV, MMC, OTSU, but none of them seem to be for that algorithm. If it actually isn't available from the exe, could you add it?

[FIXED] Kaboom

Windows 7 x64, nQuantCpp 1.06, image.png

$ nQuantCpp.exe image.png /m 128
Converted image: C:\Test\image-DIVquant128.png
Converted image: C:\Test\image-PNNquant128.png
Converted image: C:\Test\image-NEUquant128.png

And then suddenly… Kaboom!

command line

could you make each color quantization algorithms can be chosen by command line? that way just have one image as a result. Besides, could you explain what type of files this admits? I was testing with png and tif, and both work.
Thank you.

LICENSE

❓ Duplicate?:

  • LICENSE
  • nQuantCpp/LICENSE

❓ What for?

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.