1. win32lib and copyToTrueColorBitmapFile
- Posted by buzzo Dec 06, 2014
- 1249 views
Any special requirements for the control containing an image that would cause copyToTrueColorBitmapFile to return 0.
This works just fine.. returns 0.. bmpImgBox is a Group.
result = copyToTrueColorBitmapFile ( bmpImgBox, name, bmpx, bmpy+9, bmpx2, bmpy2-10 )
This returns 1... ChartWin is a normal window
result = copyToTrueColorBitmapFile ( ChartWin, "C:\\chartwin.bmp",1,1,800,600)
2. Re: win32lib and copyToTrueColorBitmapFile
- Posted by petelomax Dec 07, 2014
- 1205 views
C:\ does not by default have write permissions. Try C:\test\Mybitmap.bmp, if that works you have good reason to avoid writing directly to C:\ as any users would hit the same problem.
3. Re: win32lib and copyToTrueColorBitmapFile
- Posted by buzzo Dec 07, 2014
- 1181 views
Thanks petelomax.. will give it a try.
4. Re: win32lib and copyToTrueColorBitmapFile
- Posted by buzzo Dec 07, 2014
- 1160 views
Fixed the problem...
found that copyToTrueColorBitmapFile will save a pixmap and a lot faster than the screen