i have go the command that will allow me to save a file i would like to know how i can save it as a jpeg because if u just change the file extension when saving it it will not open again because the program still thinks it is a bmp
this is the code i have so far
Can anyone help with my problem?Code:void __fastcall TForm1::Save1Click(TObject *Sender) { if(SavePictureDialog1->Execute()){ imgImage->Picture->SaveToFile("Name"); } }
Thanks