Tom,
Thank you for your input.
More searching on the web, I found this:
http://asktom.oracle.com/pls/apexf?p=100:11:0::::P11_QUESTION_ID:229614022562#2081176199386 I tweaked it to take in ORDSYS.SI_COLOR and return ORDSYS.ORDImage format.
(I was having issues converting the INTEGERS into BLOBs appropriately in pure SQL.)
This method takes longer then I expected, but then again, I am calling dbms_lob.append() 30*100*10 times.
(averaging 20s on my server. I still have to benchmark it while not using the custom aggregate function.)
I'd post the code but it seems to have some mathematical bugs in it (and i'm sure there is potential for a memory leak somewhere)
If anybody is interested, let me know and I'll clean it up and post it.
For the other question:
Each pixel in the image (for 24bit color) needs a 1-byte representation for each color RED,GREEN, and BLUE.
I was trying to convert the INTEGERs to a BLOB and have each INTEGER (in BLOB format) take up only 1 byte each.
So, a more accurate question would be:
"How do I convert the three INTEGERs into the appropriate BLOB data format so that I can append it to the BLOB?"
The function CHR() seems to be the starting point I was looking for.
Right now, i'm creating a CLOB and then using dbms_lob.convertToBLOB();
(I have a feeling that some of the parameters are wrong)
If anyone has any better ideas of doing this, I'd be happy to here them.
again, thanks.
MK