Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where are images stored inside programs?

i'm new to programs so bear with me

For example, Firefox.. I go to the C/program files/mozilla/firefox folder ..but I don't see the images/buttons they used for the default theme of the program

Also, photoshop and other programs: how are the buttons, images, and other media stored (not in a folder from what I see)?

same thing when I made a simple program in visual c++, i don't see where the icon is located at?

thanksvery much

like image 609
avon_verma Avatar asked Jan 04 '11 23:01

avon_verma


2 Answers

Images are usually stored as resources in DLL or EXE files.
You can see the resources by opening a compiled binary in Visual Studio.

Firefox stores images in JAR files for skins.

like image 179
SLaks Avatar answered Sep 17 '22 23:09

SLaks


In the resource section of the executable file. This section of file acts as an embedded storage location which is indexed by the resource table.

You can use a program such as ResHacker to browse or even change native embedded resources.

like image 42
Tim Lloyd Avatar answered Sep 17 '22 23:09

Tim Lloyd