Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
if I have some RGB data,I want to display them on screen pixel by pixel.
Can Tcl/Tk implement such function?
Can anyone help me or give me some reference?
thx
Yes, you can, but I never tried.
Just look at the canvas widget... from unix platform, type man n widget and you will get the help.
Here is a brief part of canvas man page.
Best regards. Paolo
[hr:7c49a97209]
BITMAP ITEMS
Items of type bitmap appear on the display as images with two colors,
foreground and background. Bitmaps are created with widget commands of
the following form:
pathName create bitmap x y ?option value option value ...?
The arguments x and y specify the coordinates of a point used to posi
tion the bitmap on the display (see the -anchor option below for more
information on how bitmaps are displayed). After the coordinates there
may be any number of option-value pairs, each of which sets one of the
configuration options for the item. These same option-value pairs may
be used in itemconfigure widget commands to change the item's configura
tion.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.