Hello,

I want to save the image binaryImage in a file (bmp) so that I can open binaryImage.bmp and this way working with it in another programme.

I have tried different ways (see below) but I don't find a solution. I have no idea how to use this method.Could anyone help me to use Save?

Thank you in advanced!

System::Drawing::Bitmap^ binImage;

System::Drawing::Image::Save(System::String^ "binaryImage.bmp");
binaryImage->Save(System::String^ "binaryImage.bmp");
binaryImage->System::Drawing::Image::Save(System::String^ "binaryImage.bmp");

Isn't it just:

binaryImage->Save("binaryImage.bmp");

???

you are rigth!!it works. I see that the solution is easier as I thougth.

Thank you so much.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.