Part of our application is a Tkinter GUI.  The frames use the same, single logo image in all of them in addition to whatever text or buttons are required. 

I am looking for the simplest possible method of adding it to the executable and any additional steps required to reference it in the code (For Linux and Mac, we do not use pyinstaller, so they just look in an installed directory.  Not sure how that translates to the exe environment.).

It seems like I should be using the -r flag to add the location of the image file, but I find this:

-r RESOURCE, --resource RESOURCE
     Add or update a resource to a Windows executable. The RESOURCE is one to four items, FILE[,TYPE[,NAME[,LANGUAGE]]]. FILE can be a data file or an exe/dll. For data files, at least TYPE and NAME must be specified. LANGUAGE defaults to 0 or may be specified as wildcard * to update all resources of the given TYPE and NAME. For exe/dll files, all resources from FILE will be added/updated to the final executable if TYPE, NAME and LANGUAGE are omitted or specified as wildcard *.This option can be used multiple times.


to be very vague.  If FILE is the path to the file (is it?), what is NAME?  What are valid TYPEs? 

Any suggestions on the simplest way to do this would be greatly appreciated.

Best,

coyot
GLENN GLAZER | Senior Software Engineer
m:
562.305.2920 | email:  [email protected] | Second Life: Coyot Linden
LINDEN LAB | Create Virtual Experiences

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to