Example 24bit bitmap

Try it this way, it's much more convenient. 

That drunkenlogo.png looks awful on 3DS, needs something nicer ;-p

Should probably add a check for imagemagick with instructions to install if it's not found.
Normal rule for embedding binary data. You can copy & paste this with only the extensions changed to embed different data types. It's nicer if these files have an extension that tells you something about the contents