VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234[5]678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 10:52:22 08/30/02 Fri
Author: MageX
Subject: Tiff image in Blob fields

Someone please correct me if I wrong here. All the info I can get the better. :)

I am using Interbase. I have a field called IMAGE of type Blob, by default this is a subtype 0 seg 80.

I also am using TTiffGraphic(Envision) and TStreams to move the object around. I create the stream, and assign the object into it. The stream is associated with the field.

When I goto save it, I get Not a valid Bitmap image (or something similiar to that).

IF I leave the image as a bitmap, all works well. I can't leave it as a bitmap though because of the size, I mean, I could, but it is a waste of space and eventually would clean out the extra drive space and would also be slow. Tiff is a proper choice for me since all my images are BW (and nothing special).
I don't believe it to be a Database field problem since I really only have three choices and I feel that 'subtype 0' which stores raw binary data is the correct type. Other is user defined and subtype 1 is for text blob data.

Please help while I still have hair! :P

Thanks,
David@kalos-inc.com

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.