Re: system disk

2004-07-14 Thread Ross Clutterbuck
Nik: You could use Buddy API's SysFolder function to return the path of the Windows installation then just hack off the drive letter at the beginning. Ross [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list,

Re: system disk

2004-07-14 Thread Bertil Flink
Something like this (requires FileIO Xtra): OS_Drive = getOSDirectory().char[1..3] OS_DriveLetter = getOSDirectory().char[1] put OS_Drive -- "C:\" put OS_DriveLetter -- "C" etc. Bertil Flink Creative Media - Original Message - From: "nik crosina" <[EMAIL PROTECTED]> To: <[EMAIL P

system disk

2004-07-14 Thread nik crosina
Hi, How can I find out the drive letter of the crive that contains the currently running OS. We need to find this out as we develop a network app that might have the system run from other drives than the c:\ drive. Or is that not possible? Thanks for your help? Nik

Re: get and set pixel

2004-07-14 Thread Alex da Franca
At 13:55 Uhr +0200 14.07.2004, Christoffer Enedahl wrote: I am using this code similar to this : repeat with xx = 1 to 450 repeat with yy = 1 to 400 rgbval = member("firstImg").image.getPixel(xx, yy) -- some calculations here and then member("

RE: get and set pixel

2004-07-14 Thread Johan Verhoeven
What are you exactly trying to do? some things can better be done with copypixels and some other creative use of imaging lingo features. Get and set pixel is very slow. Caching the image objects will speed things up, but not to such an extend that it will enable you to do things realtime. J. -

Re: get and set pixel

2004-07-14 Thread Berndt Garbotz
Hi, dunno how much it slows, but use an instance e.g. myImage = member("firstImg").image repeat with xx = 1 to 450 repeat with yy = 1 to 400 rgbval = myImage.getPixel(xx, yy) -- some calculations here and then myImage.setPixel(xx,yy, newrgbval) end repeat end repeat Hth

Re: get and set pixel

2004-07-14 Thread Christoffer Enedahl
I am using this code similar to this : repeat with xx = 1 to 450 repeat with yy = 1 to 400 rgbval = member("firstImg").image.getPixel(xx, yy) -- some calculations here and then member("secondImg").image.setPixel(xx,yy, newrgbval) end

get and set pixel

2004-07-14 Thread thor
Hi List I am reading an image and drawing some of the pixels onto another image cast member. I am using this code similar to this : repeat with xx = 1 to 450 repeat with yy = 1 to 400 rgbval = member("firstImg").image.getPixel(xx, yy) -- some calculations her