Thank you for your work. Appreciated.
Using
Code: Select all
convert Arrow.png -define h:format=rgba -depth 8 -size 14x14 Arrow.h
Code: Select all
convert -verbose Arrow.png -define h:format=rgba -depth 8 -size 14x14 Arrow.h
Regards.
Code: Select all
convert Arrow.png -define h:format=rgba -depth 8 -size 14x14 Arrow.h
Code: Select all
convert -verbose Arrow.png -define h:format=rgba -depth 8 -size 14x14 Arrow.h
I've tried converting to PNM and RGBA formats. I get a proper .h file but it doesn't work in my code.Any or all of these could be converted to .h files.
Code: Select all
static BYTE XORMask[128]
Code: Select all
static BYTE ANDMask[128]
Code: Select all
convert Bookmark14.png -define h:format=rgba -depth 8 -size 14x14 Bookmark14.h
I'm not a pro.Assuming you have a 28x28 grayscale file.png,
Correct.Okay, so you want to swap out the image data from Notepad++ with your own image, yes?
Do you mean setting my PNG canvas size to 28*28?like 28*28 = 784 grayscale pixels.
Code: Select all
execute(SCI_MARKERDEFINERGBAIMAGE, MARK_BOOKMARK, reinterpret_cast<LPARAM>(bookmark14));
Code: Select all
static const unsigned char bookmark14[784] = {