Giter Club home page Giter Club logo

image_to_c's Introduction

Welcome to my open source libraries. The aim of my efforts is to bring speed and unexpected features to all devices, big and small.

Larry's GitHub stats

image_to_c's People

Contributors

bitbank2 avatar jobitjoseph avatar tomfleet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

image_to_c's Issues

PlatformIO registry

Did you register AnimatedGIF on PlatformIO?

https://platformio.org/lib/show/10952/AnimatedGIF/

If you did, do you mind using pio package publish to publish the latest release?

If you didn't you may run into the same issue I did, where someone registered your GitHub username in PlatformIO and registered your libraries, and now there's no obvious way to publish updates to your own library without making a duplicate registry entry under a different username, while the original out of date registry still has priority. (Annoying!)

I ended up accidentally adding a duplicate registry entry for AnimatedGIF as I thought pio package publish would know to update the existing registry entry for AnimatedGIF, and not create a duplicate. I used pio package unpublish and I think it's in the process of being removed. At least "AnimatedGIF" no longer shows up when I search for libraries under my username.

How to use it?

could you please explain how to use it to generate .h files? I don't know how to run this type of file since it immediately auto-close, also where the file is supposed to be find? thanks

Conversion output "// for non-Arduino builds..."

Hello,
I'm using the exe for windows and I tried to convert my gif, but I can't compile them with my arduino project.
I have this error :

error: invalid preprocessing directive #i

I noticed that in the header I had a message "// for non-Arduino builds...! "
am I doing something wrong?

Not generating .h

Hi Bitbank2!

Sorry for bothering you with this. I'm new to this so please bare with me. I am trying to use your image_to_c64.exe file but I am having issues. I open the command prompt and enter the following commands:

C:\Users\Zaido5\Desktop>cd ImagetoC

C:\Users\Zaido5\Desktop\ImagetoC>Start image_to_c64.exe

Output:

C:\Users\Zaido5\Desktop\ImagetoC>

Nothing seems to happen and I'm sure I'm not doing this correctly. Any advice or help would be really appreciated. Thank you in advanced.

invalid preprocessing directive error

i used the image_to_c64.exe in the command prompt to make this out.h file, and it keeps giving me this error code. i tried with a few others but it gave me the same error, can you help?
it seems to work with the badgers, but not the orb or any others i make,
i am trying to use it in the animated gif, tft_espi_memory
i included
#include "../test_images/out.h"
and #define GIF_IMAGE orb2

in file included from C:\Users\student\Documents\Arduino\TFT_eSPI_memory2\TFT_eSPI_memory2.ino:36:0:
c:\users\student\documents\arduino\libraries\animatedgif\test_images\out.h:17:4: error: invalid preprocessing directive #i
0 x 1 1 , 0 x 1 1 , 0 x 3 1 , 0 x 1 1 , 0 x 1 3 , 0 x 3 3 , 0 x 1 1 , 0 x 1 2 , 0 x 3 1 , 0 x 1 1 , 0 x 1 3 , 0 x 3 4 , 0 x 1 1 , 0 x 1 3 , 0 x 3 6 , 0 x 1 1 ,

^

c:\users\student\documents\arduino\libraries\animatedgif\test_images\out.h:19:4: error: invalid preprocessing directive #d
0 x 3 c , 0 x 1 1 , 0 x 1 6 , 0 x 3 b , 0 x 1 2 , 0 x 1 8 , 0 x 3 d , 0 x 1 1 , 0 x 1 7 , 0 x 4 0 , 0 x 1 2 , 0 x 1 9 , 0 x 4 3 , 0 x 1 3 , 0 x 1 c , 0 x 4 a ,

^

c:\users\student\documents\arduino\libraries\animatedgif\test_images\out.h:21:4: error: invalid preprocessing directive #e
0 x 2 2 , 0 x 5 3 , 0 x 1 c , 0 x 2 4 , 0 x 5 4 , 0 x 1 4 , 0 x 2 2 , 0 x 5 c , 0 x 1 a , 0 x 2 8 , 0 x 5 b , 0 x 2 4 , 0 x 2 8 , 0 x 5 9 , 0 x 3 3 , 0 x 2 b ,

^

exit status 1

Compilation error: exit status 1

App does not open and asks for api-ms-win-core-path-l1-1-0.dll file

Hello,

I tried running the Windows application, but it didn't open.

  • Asks for api-ms-win-core-path-l1-1-0.dll

I also saw that there is a python script, but it didn't open in Xubuntu:

$ ./Image2cGUI.py
': Invalid argument @ error/blob.c/OpenBlob/2924.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. ': Invalid argument @ error/blob.c/OpenBlob/2924. import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421.
': Invalid argument @ error/blob.c/OpenBlob/2924.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. ': Invalid argument @ error/blob.c/OpenBlob/2924. import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. ./Image2cGUI.py: line 6: $'\r': command not found ./Image2cGUI.py: line 8: syntax error near unexpected token ('
'/Image2cGUI.py: line 8: `def is_module_installed(module_name):

Mac Help

How would I use this for mac? Sorry if I missed documentation anywhere explaining.

Adding "How to" to execute "iamge_to_c" in terminal

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.

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.