dbohdan / hicolor Goto Github PK
View Code? Open in Web Editor NEW๐จ Convert images to 15/16-bit RGB color with dithering
License: MIT License
๐จ Convert images to 15/16-bit RGB color with dithering
License: MIT License
I click on the program and there is a command line that briefly shows up before closing. Alright, I figure I then have to run it through CMD itself.
So I type cd:\Users\Me into CMD (which is where I put the executable and the image, and then enter hicolor-v0.3.1-win32.exe hicolor quantize -5 example.png
But then it says "invalid command" and simply tells me:
hicolor (encode|decode|quantize) [options] src [dest]
hicolor info file
hicolor version
hicolor help
I don't know what I'm being asked to do. Even hicolor help produces "invalid command"
As the cute_png.h
library is used to load and parse PNG files, the returned image is not verified. This could cause the program's functionality to be disrupted.
An example I encountered was when the PNG headers stored excessive values for the image's height and width (despite the fact that the pixels are not stored in the data section of the format). This causes the malloc
from the function cp_to_rgb
to return NULL
and, as a result of the pointer dereferencing below, the program will generate a SIGSERV
and stop working.
When trying to build with "make test" i get the following:
./tests/hicolor.test
==== data-integrity-2.1 alpha roundtrip FAILED
==== Contents of test case:
hicolor quant alpha.png alpha-q.png
exec gm compare -metric rmse alpha.png alpha-q.png
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: source image "alpha.png" doesn't exist
while executing
"exec {*}$::hicolorCommand {*}$args"
(procedure "hicolor" line 2)
invoked from within
"hicolor quant alpha.png alpha-q.png"
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: CHILDSTATUS 2909 1
==== data-integrity-2.1 FAILED
hicolor.test: Total 24 Passed 23 Skipped 0 Failed 1
make: *** [Makefile:26: test] Error 1
It doesn't open on my PC at all. All it does is have a command prompt window pop up for a split second.
Also, the linux version isn't even a program, it's a blank file. Not even a binary.
I've tried it in other operating systems yet it still doesn't work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.