LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Importing JPEG data into spreadsheet

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
spreadsheet to jpeg yoursbydesign Excel Discussion (Misc queries) 6 July 6th 09 10:24 PM
Excel won't let me cut and paste a jpeg into the spreadsheet. RickS Excel Discussion (Misc queries) 1 March 9th 06 06:22 PM
Importing an Image (jpeg) in Excel Hubert Rétif Excel Programming 1 June 8th 05 01:24 PM
Importing Data From Another Spreadsheet Tiziano Excel Discussion (Misc queries) 6 January 7th 05 02:35 AM
exporting spreadsheet to GIF or JPEG? Ken Ramirez[_2_] Excel Programming 1 November 13th 03 02:29 PM


All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"