Hi im designing a program which will take any kind of image and put it into database a part of my program is like this
Graphics::TBitmap *bitmap = new Graphics::TBitmap();
Image1->Picture->LoadFromFile(OpenDialog1>FileName);
bitmap->Assign(Image1->Picture->Graphic);
DBImage1->Picture->Bitmap = bitmap;
it works with jpg files but it doesn work with the gif files what must i do to fix it
Thanks
Liars Do Not Fear The Truth If There Are Enough Liars
Graphics::TBitmap *bitmap = new Graphics::TBitmap();
Image1->Picture->LoadFromFile(OpenDialog1>FileName);
bitmap->Assign(Image1->Picture->Graphic);
DBImage1->Picture->Bitmap = bitmap;
it works with jpg files but it doesn work with the gif files what must i do to fix it
Thanks
Liars Do Not Fear The Truth If There Are Enough Liars