Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 668 results for
photoimage
- Page 1
Re: PhotoImage
Programming
Software Development
13 Years Ago
by Thropian
…pic == "frhall": info_dict["gif1"] ==
PhotoImage
(file = frhall) if pic == "frlhall": info_dict[&…quot;gif1"] ==
PhotoImage
(file = frlhall) info_dict["wall"] = wall canvas.create_image…
PhotoImage
Programming
Software Development
13 Years Ago
by Thropian
…() canvas = Canvas(frame, width = 225, height = 225) canvas.pack() gif1 =
PhotoImage
(file = 'Fhall.gif') canvas.create_image(0, 0, image = gif1, anchor…
Re: PhotoImage
Programming
Software Development
13 Years Ago
by Thropian
well I can't find any help on
photoimage
is there any sort of alternatives?
Re: PhotoImage
Programming
Software Development
13 Years Ago
by TrustyTony
…' class App: def __init__(self, master): frame = Frame(master) gif1 =
PhotoImage
(file = myimage) canvas = Canvas(frame, width = 225, height = 225) canvas…
Re: PhotoImage doesn't seem to be working with a button
Programming
Software Development
17 Years Ago
by katharnakh
…(self, image=image1)[/QUOTE] I was wondering is
PhotoImage
is a class or function? when this following statement… can return an object, [code=Python]image1=
PhotoImage
(file="image.gif")[/code] why not here….. [code=Python]self.Button = Button(self, image=
PhotoImage
(file="image.gif"))[/code] Please correct if …
PhotoImage doesn't seem to be working with a button
Programming
Software Development
17 Years Ago
by a1eio
… to do it is to create the image in a
PhotoImage
object. I've done this and then stuck it onto…, doesn't respond. [code=python] self.Button = Button(self, image=
PhotoImage
(file="image.gif")) [/code] any help greatly appreciated…
Re: PhotoImage doesn't seem to be working with a button
Programming
Software Development
17 Years Ago
by bumsfeld
[CODE=python]from Tkinter import * import inspect # find out if Tkinter's
PhotoImage
is a class print inspect.isclass(
PhotoImage
) # True [/CODE]
Re: PhotoImage doesn't seem to be working with a button
Programming
Software Development
17 Years Ago
by katharnakh
hi, bumpsfeld [Quote]from Tkinter import * import inspect # find out if Tkinter's
PhotoImage
is a class print inspect.isclass(
PhotoImage
)[/Quote] that was a nice snippet, thanks. hey, jrcagle thanks for your reply too. Your reply was convincing.. thanks a lot. regards, kath.
Re: PhotoImage doesn't seem to be working with a button
Programming
Software Development
17 Years Ago
by bumsfeld
Keyword variable image=object needs an object not a function call. You need to use image1=
PhotoImage
(file="image.gif") and then self.Button = Button(self, image=image1)
Re: PhotoImage doesn't seem to be working with a button
Programming
Software Development
17 Years Ago
by jrcagle
…. So this line [code=Python] self.Button = Button(self, image=
PhotoImage
(file="image.gif")) [/code] just won't work…
PhotoImage not Displaying (Tkinter)
Programming
Software Development
13 Years Ago
by Arbolito
….Frame(F, relief="sunken", border=1) GameBoardImage = tk.
PhotoImage
(file=hang.boardnumber) GameBoardLabel = tk.Label(ImageFrame,image=GameBoardImage) GameBoardLabel…
Closing an image opened by PhotoImage
Programming
Software Development
14 Years Ago
by bharatk
…self): filename =askopenfilename(filetypes=imageTypes) image1 = ImageTk.
PhotoImage
(Image.open(filename)) panel1 = Label(self, image=… img = Image.open(im) image1 = ImageTk.
PhotoImage
(img) panel1 = Label(self, image=image1) panel1…
Problem displaying tkinter PhotoImage
Programming
Software Development
8 Years Ago
by sureshk75
…scr_width, scr_height)) self.call('wm', 'iconphoto', self._w, tk.
PhotoImage
(file="icon.png")) # Temporary Placeholders ContainerMain(self, …height=400, width=200) # temporary Placeholders image = tk.
PhotoImage
(master=self, file="side.png") self.configure(text…
Re: Problem displaying tkinter PhotoImage
Programming
Software Development
8 Years Ago
by Gribouillis
Hello, effbot.org says to keep a reference to the image object to prevent it from being garbage collected. You could try self.our_image = tk.
PhotoImage
(master=self, file="side.png") [http://effbot.org/tkinterbook/label.htm](http://effbot.org/tkinterbook/label.htm)
Python GUI build: Logic Complications and Mistakes
Programming
Software Development
17 Years Ago
by mattyd
…/Python/drpython-161/phillies.py", line 94, in ? photo1 =
PhotoImage
(file=image1) File "C:\Python24\lib\lib-tk\Tkinter… (200,325, image=photo7) #---TEST LOAD from int RNG image100 =
PhotoImage
(file='grey1.gif') # PIC for button---note 100! # create a…
Grid & RadioButtons
Programming
Software Development
11 Years Ago
by slasel
…set("try again") #################################### BUTTONS ################################# pol3=ImageTk.
PhotoImage
(file="pol3.gif") Pol3=Button(root,height=72….image=primase Primase.grid(row=3) helicase=ImageTk.
PhotoImage
(file="helicase.gif") Helicase=Button(root,…
Quickly urgent please_creating buttons with loops
Programming
Software Development
11 Years Ago
by slasel
…set("try again") #################################### BUTTONS ################################# pol3=ImageTk.
PhotoImage
(file="pol3.gif") Pol3=Button(root,height=72….image=primase Primase.grid(row=3) helicase=ImageTk.
PhotoImage
(file="helicase.gif") Helicase=Button(root,…
Need Help
Programming
Software Development
14 Years Ago
by rybro1
…) panel2.image= image2 def addition(): panel2.destroy() image3 = tk.
PhotoImage
(file="difficulty.gif") w = image3.width() h = …panel4.destroy() main_menu() def about(): panel2.destroy() image3 = tk.
PhotoImage
(file="author.gif") w = image3.width() h = …
[PYTHON] Place pieces on a chessboard
Programming
8 Years Ago
by OnlyThierry
…="./pieces_image/blackp.gif") blackq=
PhotoImage
(file="./pieces_image/blackq.gif") blackr=
PhotoImage
(file="./pieces_image/blackr.gif") #…="./pieces_image/whitep.gif") whiteq=
PhotoImage
(file="./pieces_image/whiteq.gif") whiter=
PhotoImage
(file="./pieces_image/whiter.gif")…
Python Tk GUI Gmail Client.
Programming
Software Development
12 Years Ago
by Sinnocence
… photo5 = ImageTk.
PhotoImage
(image5) image12 = Image.open('messagewaiting.png') photo12 = ImageTk.
PhotoImage
(image12) image13 =… Image.open('toaddr.png') photo13 = ImageTk.
PhotoImage
(image13) ###INSERT### …
Tkinter Image Problem
Programming
Software Development
17 Years Ago
by Logi.
… box1Label.configure(image=im) top = Tkinter.Tk() r7 = ImageTk.
PhotoImage
(file="gfx/r7.jpg") b7 = ImageTk….
PhotoImage
(file="gfx/b7.jpg") A = ImageTk.
PhotoImage
(file="gfx/A.jpg"…;) B = ImageTk.
PhotoImage
(file="gfx/B.jpg"…
Re: Tkinter Image Problem
Programming
Software Development
17 Years Ago
by vegaseat
… box1Label.configure(image=im) top = Tkinter.Tk() r7 = ImageTk.
PhotoImage
(file="gfx/r7.jpg") b7 = ImageTk….
PhotoImage
(file="gfx/b7.jpg") A = ImageTk.
PhotoImage
(file="gfx/A.jpg"…;) B = ImageTk.
PhotoImage
(file="gfx/B.jpg"…
Tag_cget save problem
Programming
Software Development
12 Years Ago
by ChristianOncken
…="Ajuda", menu=helpmenu) #backgound self.background_image =
PhotoImage
(file=alldir+"background.gif") self.background = Label…Anoreg_estados.yview) #Logotipo da ANOREG-BR self.anoreg_image =
PhotoImage
(file=alldir+"logo.gif") self.anoreg_logo=Label(…
Tkinter Buttons
Programming
Software Development
11 Years Ago
by slasel
…quot;,command=tophelicase.destroy).pack() pol3=ImageTk.
PhotoImage
(file="pol3.gif") Pol3=…gyrase Gyrase.grid(row=1) ligase=ImageTk.
PhotoImage
(file="ligase.gif") Ligase=Button…primase Primase.grid(row=4) helicase=ImageTk.
PhotoImage
(file="helicase.gif") Helicase=Button…
For loop, for creating buttons
Programming
Software Development
12 Years Ago
by Vkitor
…, fill=tk.X) karirano = tk.
PhotoImage
(file="kari.GIF") s1 = tk.
PhotoImage
(file="1.GIF") s2 =… tk.
PhotoImage
(file="2.GIF") s3 …= tk.
PhotoImage
(file="3.GIF") s4 = tk.
PhotoImage
(file="4.GIF") button1 =…
To zoom an image in tkinter
Programming
Software Development
11 Years Ago
by vy_007
…(self, master) # set up the image self.tkim = ImageTk.
PhotoImage
(image.mode, image.size) self.enhancer = enhancer(image) #mid … = im.resize((80,30),Image.ANTIALIAS) photo = ImageTk.
PhotoImage
(image) b=Button(root, image=photo,command=zoomin) b.…
Resizing PhotoImages using subsample
Programming
Software Development
11 Years Ago
by satsujin
…i in imgs: image=Image.open(i) photo=ImageTk.
PhotoImage
(image) self.list.append(photo) def resize(self,num…#image=image.resize((50,100),Image.ANTIALIAS) #photo=ImageTk.
PhotoImage
(image) #photo.subsample(2,2) #self.list[num]=…
Re: Starting Python
Programming
Software Development
17 Years Ago
by vegaseat
…card_list names + extension .gif image_dict[card] =
PhotoImage
(file=image_dir+card+".gif") #print …The dictionary value 'image_object' would be ...
PhotoImage
(file=image_dir+card+".gif") which fleshes… out to something like ...
PhotoImage
(file="D:/Python24/Atest/images/Cards_gif/…
Trying to get card images into a GUI
Programming
Software Development
17 Years Ago
by jrcagle
…6','7','8','9','T','J','Q','K'] down_img =
PhotoImage
(file="Deck1.gif") cards = [x+y…] pics = {} for x in cards: pics[x] =
PhotoImage
(file=x+'.gif') def __init__(self, suit=None, value=None…don't display. Thus, a line like canvas.create_image(
PhotoImage
(file="H6.gif")) results in a blank…
Tkinter problem
Programming
Software Development
15 Years Ago
by Astudent
….create_image(394,215,image=bg) # card database deck=
PhotoImage
(file="deck.gif") cdata={ 0:{'pic':'Ac…;,"",] for i in range(52): im[i]=
PhotoImage
(file=cdata[i]['pic']) # load money def loadmoney(): … #cards need 17pxl to see full info picme3=(
PhotoImage
(file="table.gif")) c0=c.create_image…
1
2
3
12
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC