Here's another possible way to 'protect' your graphics
Look at the mildred2 demo I recently uploaded. There I have a function that will convert a bitmap into a function ....
Basically the function generated is a whole bunch of SetPixels() into an image buffer that is returned from the function.
Here's the function - to use the coded image just #include the generated file and call the function at the same place where u would use LoadImage();
void GenerateCodeImage(int myimg, string outfile)
{
int iw=ImageWidth(myimg);
int ih=ImageHeight(myimg);
int fptr=FileOpen(outfile, FILE_WRITE);
int i,j;
string outtxt;
FileWriteln(fptr,"int DrawPrecompiledImage"+GetToken(outfile,".",0)+"()");
FileWriteln(fptr,"{");
FileWriteln(fptr," int dest=NewImage(" + str(iw) + "," + str(ih) + ");");
for(i=0;i<ih;i++)
{
outtxt="";
for(j=0;j<iw;j++)
{
outtxt=outtxt + "SetPixel(" + str(j) + "," + str(i) + "," + str(GetPixel(j,i,myimg)) + ",dest);";
SetPixel(j,i,GetPixel(j,i,myimg),screen);
}
FileWriteln(fptr,outtxt);
ShowPage();
}
FileWriteln(fptr," return dest;");
FileWriteln(fptr,"}");
FileClose(fptr);
}