Forum > Graphics

Image1.Picture.SaveToFile('C:\image.bmp'); does not work

(1/1)

epsilon:
Hallo everybody. I have the problem similar to http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=606
I have a figure and I REALLY need to either print out it or save it to a file. Trying the
--- Code: ---Image1.Picture.SaveToFile('C:\some_image.bmp');
--- End code ---
or
--- Code: ---Image1.Picture.Bitmap.SaveToFile('C:\some_image.bmp');
--- End code ---
I obtain the message
--- Quote ---Project project1 raised exception class 'External: SIGSEGV'.
--- End quote ---
Even if the debugger is set to none the message
--- Quote ---Access violation
--- End quote ---
appears. Please HELP ME with this serious (for me) problem.
Epsilon

Navigation

[0] Message Index

Go to full version