[ 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: 12[3]45678910 ]

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

Date Posted: 13:49:13 08/03/03 Sun
Author: David W
Subject: Re: IntraWeb 5.1 and Envision 2.0 - Cannot assign a TDibGraphic to a TJPEGImage
In reply to: Michel 's message, "Re: IntraWeb 5.1 and Envision 2.0 - Cannot assign a TDibGraphic to a TJPEGImage" on 20:40:14 06/03/03 Tue


Is there a way I register and then unregister the JPG format on the fly? Then I could only use it when I need it and not mess with the way IW does it's thing (it's a black box!).



>Hi David,
>I have not worked with IntraWeb, so I can't give you
>specific advise.
>There error you are getting is resulting from
>something like,
>which ends up calling
>A TDibGraphic can be assigned to a TBitmap, but not a
>TJpegImage. I did some research on this, and the
>TJpegImage is a read-only type graphic, ie, it does
>not have Canvas so the AssignTo implementation can not
>be straight forward. One way could be to save to a
>JPEG stream then using LoadFromStream but this is not
>I don't know how the IW image control work. One
>possible workaround is to create a temporary TBitmap
>and assign the TDibGraphic to the TBitmap. I assume
>that the IW controls will work with a TBitmap.
>Best regards,
>>Does Envision 2.0 work with IntraWeb 5.1? I get the
>>error message "Cannot assign a TDibGraphic to a
>>TJPEGImage" in the EnDiGrph.pas (line 1256) unit when
>>I use any of the IW Image controls.

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