Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!unido!altger!darkness From: darkness@altger.UUCP (darkness) Newsgroups: comp.windows.ms Subject: Need Help: Saving and restoring bitmaps on disk Keywords: Bitmaps Storage Message-ID: <2002@altger.UUCP> Date: 9 Nov 89 23:58:14 GMT Reply-To: darkness@altger.UUCP (darkness) Organization: Altos Computer Systems Munich Lines: 22 Dear Windows-cracks I have a little problem writing an Mandelbrot-generator for windows in C It already works fine, but I have to save the bitmap associated with my main window to disk and of course be able restore and display it later on. Is there any *easy* way to save a bitmap? The format doesn't matter, it should only work, that's all. It also need not to be device independent, because the files are merely temporary. I could only imagine to calculate the length of the bitmap in memory and then write the BITMAP-structure and the Bitmap-Bits to disk, but this seems too complicated to be the only way. Greets, ------------------------------------------------------------------ Stefan Willmeroth Write a program even idiots can use, Munich/Germany and you will see that only idiots will altger want to use it. (Murphy) ------------------------------------------------------------------