Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings All,
This what I like to do, but not sure if it is possible with Excel, and if it is possible, not sure how to go about doing it. I would like to import the data from a JPEG file and place each pixel information into the Excel spreadsheet. That is, each cell would hold the data byte for that pixel. I am assuming the data byte is the color information, but I don't know that for sure; or if the data byte contains other information for that pixel. For example, if the JPEG is a 256x256 pixel size, the imported data would occupy 256 rows by 256 columns. Importing the data would be one byte at a time and placing it in the correct cell. I would then have a procedure to look at each cell that has the data byte and determine what color it is supposed to be. Then shade in that cell with that color or a color that is close to it based on the Excel's color palette. When the spreadsheet in zoomed out, you can then see a pixilated version of the original JPEG picture (as long as the size of the cell has been configured to be a square). I would then have a procedure to change the data byte or look for certain combinations of cells with the same data information and change it to something else. Hence, I can change the color of the sky from blue to red, if I know what I was looking for. Once I am finished with the changes, I would then take the information and save it as a JPEG file with a different name. When that new JPEG file is imported into an application such as Paint, you can then see the changes. There are probably some good applications that can do this, but I would like to manipulate the JPEG data using Excel. My Excel version is Excel 2003. Any guidance, assistance or good reference books would be most appreciated. Many thanks. RichardG |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
spreadsheet to jpeg | Excel Discussion (Misc queries) | |||
Excel won't let me cut and paste a jpeg into the spreadsheet. | Excel Discussion (Misc queries) | |||
Importing an Image (jpeg) in Excel | Excel Programming | |||
Importing Data From Another Spreadsheet | Excel Discussion (Misc queries) | |||
exporting spreadsheet to GIF or JPEG? | Excel Programming |