How to use drawImage


#1

I have a jpg and I want to draw it. When using jucer, I load the jpg as resource, and it can be previewed well. But without jucer, how can I import the jpg? In the jucer’s way, there are
// Binary resources:
static const char* p6280041_jpg;
static const int p6280041_jpgSize;
But how can I make real connection to the jpg? Should I turn the jpg into Binary or something ?

thx for answering this simple question…


#2

Not sure I understand the question… If you’re using the code that the jucer created, it’ll already contain the binary data, right?


#3

Thx. I found the binary data in the cpp. I somehow didnt see it…