electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to display pixels with Tcl/TK


Post new topic  Reply to topic    EDAboard.com Forum Index -> Linux Software -> how to display pixels with Tcl/TK
Author Message
nineleo



Joined: 16 Oct 2003
Posts: 11


Post05 Jan 2004 8:18   

how to display pixels with Tcl/TK


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
Back to top
Google
AdSense
Google Adsense




Post05 Jan 2004 8:18   

Ads




Back to top
psubiaco



Joined: 06 Apr 2003
Posts: 42
Helped: 1
Location: Italy


Post06 Jan 2004 18:18   

Re: how to display pixels with Tcl/TK


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.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Linux Software -> how to display pixels with Tcl/TK
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to display pixels in ModelSim (1)
how to write a testbench file with tcl? (4)
Tcl/Tk Constellation Plot Display for ModelSim (1)
how to run a Tcl script with argument in windows Modelsim? (2)
how to make a timer with 4 7-segment LED display (7)
how to connect PIC16F877 with dc motor, keypad, LED display? (1)
HOW TO DISPLAY 8'b VALUE INTO TWO 7-SEG DISPLAY (4)
Scripting it with tcl. (3)
Help to create GUI with Tcl/Tk (1)
Problem in LCD display in PIC 16f876 with 16x2 lcd display (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS