danny-burrows / img_to_txt Goto Github PK
View Code? Open in Web Editor NEWSmall utility that converts images into ASCII or ANSI text.
License: MIT License
Small utility that converts images into ASCII or ANSI text.
License: MIT License
Hi, @danny-burrows.
This issue is for arg_parse.c
file.
When I used the program, I ran the command below.
./img_to_txt -hw 100 01.jpg -hw 50 02.jpg
As you can guess, I just wanted to convert multiple files with different options separately.
But, the results generated by the program showed me that they have same spec (or scale) given by the very last option (in this case, -hw 50
).
So, there is my suggestion I want you to consider.
Could I make a pull request about dealing with multiple files that have different options?
--
detecting conditionarg_parse
functionThis is just a draft, so you don't have to take care of them deeply.
Thanks for reading, and I look forward to hearing from you.
Good day, @danny-burrows.
Don't you think that header's macro name is little long?
Now - #ifndef IMG_TO_TXT_ARG_H
In my opinion, IMG_TO_TXT_
part is not necessary and is difficult to classify headers.
So how about this format?
Suggestion - #ifndef ARG_H
In more detail, if a header named 'hello.h' is located in include/here
, just express like this - #ifndef HERE_HELLO_H
.
If you have any other idea, please let me hear your feedback.
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.