Skip to content

LazataknesSoftware/picdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this tool

Picdoc (abbreviation from PICture DOminating Color) is program that allows to find dominated color in picture. It is very useful tool for those who make legends and need to give to item its colour.

Acceptable Formats

It allows to process JPG (JPEG), PNG and ICO.

Requirements

  • Windows 10 1607
  • Android: Termux

Linux and MacOS are not supported. However, you can build picdoc from source.

Demo

Testing picture:

On Windows with cmd.exe/conhost.exe:

cmd.exe/conhost.exe

IMPORTANT! conhost.exe supports 16 colors only, so color image may be incorrect!

On Android (PuTTY/Termux):

PuTTY/Termux

Flags of this tool

Picdoc has only 1 flag: -C. That flag tells picdoc to skip grey, black and white colors (44,44,44, 200,200,200,0,0,0).

Errors explaination

  • I did not find file. Run picdoc with filename. - this error means that file not found. Also that error shows when you ran picdoc without filename.
  • I can't recognize file. Is it picture (JPG, JPEG, PNG, ICO)? - probably, you sent non-image file (for example, .js, .txt, .mp4) to picdoc.

Credits

  • Thanks very much to developers of library called color-extractor. Picdoc wouldn't exist without it!
  • Thanks to developers of great library called gookit/color. Without it my program wouldn't show colors in Windows console.
  • Thanks to developers of library called bestico/ico. Thanks to it picdoc can process .ico files!

Do you have idea?

Great! You can make pull request (if you have idea) or issue (if you face problem).

About

Program finding dominating color in picture

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages