User Profile
Collapse
-
ok yes that's helpful. however, if i do this, this will limit my program to only run on the windows platform... is there a way i can make the image open with the default image viewer? -
ok, this is good for getting the basic image data, but i want to extract the metadata of the image... like i said, comments, keywords, title, author etc.Leave a comment:
-
still, this is another problem im having with my app... if anyone cann help?Leave a comment:
-
-
-
i like komodo particularly because it has an interactive python shell inbuiltLeave a comment:
-
I use Windows Vista Home edition using Python 2.5.1
I use active state komodo IDE 4.1 for most of my tasks at the moment. using wx.Python for my GUILeave a comment:
-
image meta data read
okay, im coming along with my project fairly hassle free, however i was wondering if someone knows how i can read/ extract meta data from image files (in windows)...
for example, when u right click on an image in windows explorer and click properties, it shows u information about the image such as title, keywords, author comments, etc.
i want to display this information in my GUI
im using wxpython at the moment.
... -
you need to have wxpython installed
Code:#Image import os image = wx.Image('imagename.jpg') imgResizeMax(image,(225, 225)) # Resize your image to 225X225 pixels self.picturedisplay = wx.StaticBitmap(self.panel,wx.ID_ANY,bitmap=image.ConvertToBitmap(),pos=(10,10),size=(283,223)) #set the size of the field the image will be displayed in, and everything else.
Leave a comment:
-
wxpython cross-platform image viewer
i was wondering if anyone could write me a definition that will open a currently in use image file in the windows picture and fax viewer? im having troubles...
anyhelp much appreciated! -
never mind guys, figured it out myself!
Code:#Menubar new = wx.MenuItem(file, 101, '&New\tCtrl+N', 'Creates a new document') new.SetBitmap(wx.Bitmap('icons/stock_new-16.png')) file.AppendItem(new) #Button Bind self.Bind(wx.EVT_MENU, self.NewApplication, id=101) #Menubar button- new window method def NewApplication(self, event):
Leave a comment:
-
open new window frame?
i'm new to python... im making a GUI for an image information editing program that i am doing for school. i have a button in my menu bar that i want to open a new window (same GUI) just like in internet explorer when you click new window. hope that makes sense... i'd imagine it's simple to do, but im stuck. any help? much apprecited! i have the button... basically need a definition... new window frame.
No activity results to display
Show More
Leave a comment: