Giter Site home page Giter Site logo

img_to_txt's People

Contributors

danny-burrows avatar twopair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

img_to_txt's Issues

arg_parse.c: Support multiple files conversion

Hi, @danny-burrows.
This issue is for arg_parse.c file.

About suggestion

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?

Expected changes

  • Delete a -- detecting condition
  • Reorganization the structure of arg_parse function

This 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.

header files - #ifndef macro names

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.

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.