I'm trying to load a .jpg file into a TImage.
I've tried with :
Image1->Picture->LoadFromFile(myFile);
but I get an exception when the file it's .jpg, .png. or .gif: Unkonw picture extension.
How can I load a .jpg into a form?
( I'm using C++Builder 10.2.2 and XE8 )
Connect with Us