Read-only archive of the All About Symbian forum (2001–2013) · About this archive

animation of gif

0 replies · 1,914 views · Started 13 June 2005

Hi All,

Can anyone please tell me that how I can get get an animated GIF on screen?
I am using following code snippet.....

_LIT(image,"C:\\Images\\idle.gif"😉;
CPAlbImageViewerBasic *iViewer = CPAlbImageViewerBasic::NewL(this,Rect());
iViewer->SetImageNameAndDisplaymodeL(image, EColor4K);
iViewer->LoadImageL();

if(iViewer->IsAnimation())
{
iViewer->PlayAnimationL();
}
//MPAlbAnimationObserver *aObserver;
gc.BitBlt(TPoint(40,40),iViewer->Bitmap());

What else I need to do in this to perform animation.....

please reply
thanks
pankaj