Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the pixmap of Tk canvas

Status
Not open for further replies.

davitkk

Programmer
Sep 3, 2009
1
US
Hi All,

My problem is following:
I'm drawing images on Tk canvas and I want to dump the final image in a file (different from PS).

1) Is there any way to get the pixmap of Tk canvas?

in case if not

2) Is there any way to snapshot the image from Tk window different than the method of blt::winop? (it's not useful for me)

in case if not

3) Is the only way to draw all objects on a pixmap and dump it to file?

Please help me ASAP.

Thanks in advance!
--D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top