Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to view either code for a selected image. For example, if I have an image of a flower, what does it look like to the machine or how would the machine express it using it's machine or binary's code.

I've been looking for an answer on Google and DogPile and several other searches but can't come up with it. Any ideas are greatly appreciated.

share|improve this question

An image in itself has no executable instructions inside. It's a piece of information, a set of bits and bytes that are usually compressed. Decompressed, it results in a bitmap. That bitmap can then be translated through any image processor into the colored pixels one sees on a display.

A vector image is different from a raster image, in the sense that the format itself defines some instructions, that are later calculated by the software. An example of it is SVG (Scalable Vector Graphics).

However, there is no single consensus on how to present images. For instance, you can use either the GPU or the CPU in order to process the information (which will entail different assembly instructions), there exists a countless number of languages, and any one might produce different assembly instructions, although they do the same visually.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .