Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TImage and gif files

Status
Not open for further replies.

dakkarin

Instructor
Nov 11, 2005
76
TR
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
 
You say you have the Delphi source files; you've been advised that it should be possible to compile these for C++Builder; what more do you want? Have you even tried doing it?
 
yeah i tried but i couldnt do it how is that possible to change delphi to c++?

Liars Do Not Fear The Truth If There Are Enough Liars
 
I have the same problem for months now, I want to use GIF images in C++ builder 6. I can't find anything on the web, only a TGifImage component which costs 15 pounds.


You can download a trial version, I have not tried it yet.
However i would prefer a free TGifImage Component.

Any suggestions?
 
Thanks this imagemagic really worked out for me

Liars Do Not Fear The Truth If There Are Enough Liars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top