New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding "How to" to execute "iamge_to_c" in terminal #4
Comments
The image_to_c program (not a script) tells you how to use it if you run it with no parameters. |
Hi bitbank2 may I ask you please to help me a little. Below the result of using your tool for converting a gif to C array. When I enter following in the Mac terminal. ast login: Sun Dec 12 14:48:36 on ttys001 ast login: Sun Dec 12 14:50:14 on ttys000 Usage: image_to_c image_to_c ./test.jpg > test.h Saving session... [Prozess beendet] It is creating a file but without content. |
Hi @AlonsoMinas, |
Hi Larry, thank you for your answer and efforts with me. I have tried it like this: ...@...-iMac ~ % open /Users/.../Desktop/.../Programmierung/image_to_c-master/dist/MacOS/image_to_c ./flame.gif Terminal is showing: Last login: Sun Dec 12 18:44:00 on ttys001 Usage: image_to_c image_to_c ./test.jpg > test.h Saving session... [Prozess beendet] When I search for test.h on my Mac there is no file found with this name. There must be something I am doing wrong? But I have created attached two files with another tool in internet (https://lvgl.io/tools/imageconverter) may you check if this will work with your AnimatedGIF on a ESP32 ( I don't have it yet, is ordered otherwise I would try it my self). |
Why are you using "open" to run the program? Just run it like any other command line program: ./image_to_c |
Great worked thank you very much. |
Hi. I found your library AnimatedGIF very useful for my project. And of course, I want to try with my own GIFs. I understand the purpose of this repository to convert GIFs to C array, but I am a little bit confused about how to use that.
I assume that I need to run image_to_c script in the terminal sending image that I want to convert the path as param, but I don't know how exactly to do it. I am using Mac OS.
I think it's would be very useful for others to have that short description on main page of the repository.
Thanks.
The text was updated successfully, but these errors were encountered: