Dim p As Picture
Dim c As Color
Dim r,g,b As String
p = NewPicture(100,100,32)
c = p.RGBSurface.Pixel(1,1)
r = Str(c.Red)
g = Str(c.Green)
b = Str(c.Blue)
MsgBox "RGB(" + r + "," + g +"," + B + ")"
>
> Finally I've found how to get the still image in a picture.
> But now, I don't know how to access to the pictures
> information. I want to know the value of every pixel in the
> picture. I am trying to do this:
> msgbox backdrop.rgbsurface.pixel(1,1).red
>
> or
>
> msgbox backdrop.rgbsurface.pixel(1,1).value
>
> How can I read the value of the RGB components of 1 pixel?
>
> Thanks
>
>
>
> El 01/01/2006, a las 14:42, Iker Etxebarria escribió:
>
> > It's a Samsung Camera, and it has an RS232 interface. I
> will work on
> > it, thank you very much.
> > El 31/12/2005, a las 14:08, Dixon, Tom escribió:
> >
> >> What model camera?
> >> Is there a SDK available for the camera? Some of the
> cameras I have
> >> used have SDKs available that give you a complete API for
> interfacing
> >> with it through COM which will work with RB even though their
> >> examples are in VB.
> >>
> >> Tom
> >>
> >>>
> >>> Hi,
> >>>
> >>> I want to capture still images from a firewire camera. Has
> >>> anyone any idea of where I have to start?
> >>>
> >>> Thanks
> >>> Iker Etxebarria
> >>> ikercv2001 at yahoo dot es
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|