Software > Software

image files question

(1/2) > >>

Is there a program that can view image files as an array of bits?

Technically, you could do it with a text editor, although you'd probably loose the non-printable characters. It really depends on what the format is. You need to know how many bits are used per pixel, if it stores alpha information or any other info, what kind of compression schemes it uses, etc... What is the image format?

hi octagonx,
most image formats (png or jpeg for example) have some sort of data compression going on so looking at the raw contents doesn't tell you much.
most programming languages have libraries to handle the conversion into usable data for you.
you'll need to search a bit to find one with documentation that you can use with whatever language you are using.


i've tried opening .bmp files using text editor.  And i think, it does resembles how the image looks like. But what I want is to view each character as a value (numbers, hex etc) so i can at perform mathematical operations on them. Thanks for the replies, dunk, crossroads.

I found this... maybe it could help  ???


[0] Message Index

[#] Next page

Go to full version