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: 2
Default How can I read a gif file?

Hi!

I'm trying to store some pictures on a spreadsheet into a BLOB column in an
Oracle table. My strategy so far is as follows:

1. Copy the picture to a chart

2. Export the chart to a GIF file

3. Insert a row into the Oracle table with some keys (from the spreadsheet,
offset from the topleftcell of the picture), and an empty BLOB.

4. Open the GIF file, read it (probably 4k chunks at a time) and update the
BLOB in the row just inserted by appending the chunk to the BLOB, until EOF
on the GIF file.

I've got steps 1, 2 and 3 working, and have a stored procedure that takes
key values and RAW input and updates the row by appending the RAW to the BLOB.

How do I open and read the GIF file, in order to send RAW chunks of it to
my SP?

Is there a better way to accomplish this task, taking pictures from the
spreadsheet and storing them in a database?

Thanks in advance for any help or advice,
elmo
 
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
How do you save an excel file to be read as IBM-type text file ? Dee Franklin Excel Worksheet Functions 2 October 10th 06 02:46 AM
I have a read only xl file, I need it to be read and write drama queen Excel Discussion (Misc queries) 3 July 1st 06 12:25 AM
XCEL FILE REC'D AS READ ONLY -- HOW TO NOT BE "READ ONLY" billybob Excel Discussion (Misc queries) 1 February 13th 06 03:14 AM
How can a file be converted from Read-Only to Read/Write Jim in Apopka Excel Discussion (Misc queries) 2 November 19th 05 04:59 PM
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. Tim Marsden Charts and Charting in Excel 2 October 15th 05 02:10 PM


All times are GMT +1. The time now is 05:54 AM.

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"