I have a TImage
, which has its own subcomponent MultiResBitmap
which also has a "0 - Normal" subcomponent. When accessing the Bitmap Editor of the 3rd component and using the "Save" option, I am prompted to select a location in which to save the file. After entering that I'm given a "Saving Bitmap failed" error.
I tried extracting the needed image from the programs resource file, but it did not show anything except the programs icon when using Resource Hacker
How can extract that image?
CodePudding user response:
try this maybe it will work
Image1.MultiResBitmap[0].Bitmap.SaveToFile('delphi_img.png');