Re: Viewing a bitmap Oracle Blob without writing it to file
- From: maarten <maarten.mostert@xxxxxxxxxx>
- Date: Fri, 07 Jul 2006 15:32:13 +0200
Hi,
Why don't you create the image using the image creating method:
Image extent: extentPoint depth: aDepth bitsPerPixel: aBitsPerPixel palette: aPalette usingBits: myBits
In this case you store the information required to recreate the image in the same table including the blob colum holding the the image bits.
Using the Image class allows you to read all compatible image file formats and then store them into your database.
You can then quite retrieve and review these inside your application avoiding calling external once.
Maarten,
mm a écrit :
I store bitmaps in blobs on an Oracle database and when I need to view the bitmap I read the database table, convert the blob to a stream, write it out to a file with a .bmp extension and then use ShellExecute to open that file..
However I now want to cut out the step of writing it to a file.
So what I want to do is read a blob from the database and view it.
Anyone got any ideas ?
Anyone know of an equivalent to ShellExecute which will take a stream instead of a filename ?
Thanks.
- References:
- Prev by Date: Re: Visual Smalltalk Enterprise 3.1.1
- Next by Date: Re: VisualWorks 2.5.2 installation
- Previous by thread: Viewing a bitmap Oracle Blob without writing it to file
- Next by thread: VW on Citrix server
- Index(es):
Relevant Pages
|