Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.