Re: copyToBitmapFile
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Oct 04, 2001
- 370 views
> This is my first attempt at a serious Euphoria program, but I've managed > to get up to the very last point of what I want to do and somethings > wrong. > What I'm trying to do is get some status information from my computer, > turn it into an image, and finally, upload that image to my website. > I'm turning the text into an image by trying to take a snapshot of a > small portion of my window if it has updated, checking every second with > an onTimer event. This works fine. No errors come up and I've checked > to make sure that what is supposed to be happening is actually > happening. But sometimes, and I can't get it to reliably reproduce, the > .bmp I'm trying to save somes out corrupted. I haven't added the upload > code yet, I'm referring to the .bmp produced by copyToBitmapFile. > My question is: Is there any problems I might not be aware about with > using copyToBitmapFile, or is it likely some error in my code? > I am only trying to write the image every few minutes, the status > doesn't change much, and I have tried deleting the old file before > updating, renaming it, etc. > If anyone could shed any light on this (or another way I could aproach > it) I would be so SO appreciative! > -=Cassidy=- Hi, Try printing everything on to a Pixmap control rather than a window... Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying