Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sprite to .gif?

Author
Message
Yoyoy oy oyo yoyoyo yoyo
15
Years of Service
User Offline
Joined: 16th Oct 2008
Location:
Posted: 17th Oct 2008 03:51
Is it possible to put a sprite generated with Dark GDK into .gif format? If it matters any here is my code.

#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbCreateAnimatedSprite ( 1, "Lightsaber battle.bmp", 5, 5, 1 );
dbSprite ( 1, 0, 0, 1 );
while ( LoopGDK ( ) )
{
dbPlaySprite ( 1, 1, 25, 200 );
dbSync ( );
}
return;
}
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 18th Oct 2008 00:01
Quote: "dbSaveImage
This command will save an image to a file. You must specify an existing image number between 1 and 65535. The file must not already exist, otherwise the command will fail. The image file format is determined by the extension given, and can be one of 'BMP', 'DDS', 'JPG' and 'DIB'."


Looks like GIF is out of luck.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office

Login to post a reply

Server time is: 2024-09-30 09:30:35
Your offset time is: 2024-09-30 09:30:35