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: 123[4]5678910 ]


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

Date Posted: 11:39:22 10/31/02 Thu
Author: Bruce Biddle
Subject: Re: Unknown picture file extension (.jpg) - Loading from blob field
In reply to: Bruce Biddle 's message, "Unknown picture file extension (.jpg) - Loading from blob field" on 11:32:36 10/31/02 Thu

Just found this in another thread, now works OK

"The Envision graphic classes need to be registered with the VCL. From the Project menu, select Add to Project, and add the EnReg.Pas file. This will make sure all the Envision formats defined in the Envision.Inc file are registered with the VCL.
"

Bruce
>Hi Everyone
>
>When I try to load a jpeg from a blob field I keep
>getting an error message.
>
>"Unknown picture file extension (.jpg)"
>I cant work it out
>
>Any ideas!
>Bruce
>
>P.S. I am using this code .
>
>BlobStream := TBlobStream.Create(
>Table.FieldByName('Image'), bmRead );
>
>ImageScrollBox.LoadFromStream(BlobStream, 'jpg', 1);

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

[ 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.