Alternative way of converting images

step1. Download grit at

step2. Place the image in the grit folder

step3. Create a batch file

step4. Edit the batch file and insert the following text: grit <image.ext> -m! -gB8

image.ext can be img1.png or img2.gif

The -m! and -gB8 are possible options to convert the image. All options can be found in the help file wingrit.chm located in the grit folder.

step 5. Execute the batch file and a .h and .s file will be created.

step 6. Copy these files the nintendo nds project folder.

step 7. Include the .h file in the source code of you’re application.

step 8. The image is now included and can be used.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: