![]() ![]() MyImage = Image.open('images/TestMove.png')Ĭnv. If (cnv.gettags(item) = ('Entity', 'current')): Item = cnv.find_closest(cnv.canvasx(event.x), cnv.canvasy(event.y), halo=5) # Pop up window to determine how far the player can move # _image(self.posLst,self.posLst, image=playerImage.image, tags = "Entity") PlayerImage.image = ImageTk.PhotoImage(playerImage) It's also available for some, but not all, clip art. The Set Transparent Color option is available for bitmap pictures that don't already have transparency information. In the picture, click the color you want to make transparent. Click Picture Tools > Recolor > Set Transparent Color. = filedialog.askopenfilename(title="Select Image", filetypes=(("png files", "*.png"),("all files", "*.*"))) Select the picture that you want to create transparent areas in. Self.icon = PhotoImage(file = 'images/D&D.png') MapButton = Button(self.butFrame, text = "Play", command = lambda: game(self)) PlayerButton = Button(self.butFrame, text = "Add Player", command = lambda: select(self)) ![]() MapButton = Button(self.butFrame, text = "Add Map", command = lambda: myMap(self)) Self.butFrame = Frame(self.root, padx=1, pady=1, relief='ridge', bg='blue') id(row=2,column=0, columnspan=2,sticky=E+W) SbarH = Scrollbar(self.root, orient="horizontal", command=) SbarV = Scrollbar(self.root, orient="vertical", command=) Stock Photography by xtremer 1 / 86 ice cubes isolated on white Stock Photos by artjazz 65 / 1,156 Bubble ball translucent Stock Image by snake3d 3 / 223 translucent leaf Picture by ermess 1 / 77 Translucent Daffodil Picture by Kapai 1 / 151 translucent dyed polymer granulate Stock Photos by XXLPhoto 3 / 105 3d Translucent cubes Stock Images by. (row=0, column=0,rowspan=2, columnspan=2) Self.canvas = Canvas(self.root, height=760, width=1440, relief='groove', bd=5) I can select the image just fine, but when i try and put the translucent image on top of it, i can tell that the image is there, but it does not show up. Transparent Image Viewer - A simple viewer with transparency, but also missing additional features I needed.I am looking to put a translucent image over a canvas using tkinter, I am trying to select an image on a canvas, then on that image put a translucent image in top of it.Osiva - A transparent image viewer that didn't have the features I needed, such as mouse click pass-through and entire image transparency. This shows the Java(TM) logo flipped, rotated, transparent and over a browser window. I suggest downloading the latest JRE1.6 from Oracle's website it can be safely installed alongside your other Java versions.Įxecute from the command-line or run/double-click cthruview.bat: It has been confirmed that Java 1.7 (32bit and 64bit) causes errors, such as the click-through feature not working. Update (July 6, 2012): Please use Java 1.6 (32bit and 64bit are both fine). You can also save your session to a text file and restore your view settings later. The image can be made opaque or semi-transparent, flipped, rotated, zoomed (scaled up or down), always on top, clipped, moved, hidden and centered. This makes your image see through and click through, so use it as tracing paper, splash screen or watermark. CThruView is a free transparent image viewer that allows mouse clicks to go through the image. ![]()
0 Comments
Leave a Reply. |