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: 123456[7]8910 ]


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

Date Posted: 06:08:28 09/07/01 Fri
Author: Konstantin
Subject: Re: Questions
In reply to: Konstantin 's message, "Re: Questions" on 20:32:37 09/05/01 Wed


Hi Konstantin,

The model choosen for Envision was the VCL model, where graphic classes are derived from TGraphic. Each graphic class is responsible for a particular format. This means you need to know the extension to determine the proper graphic type to use.

It would be possible though the find the format based on the contents of a file, but this is not supported. I have added it as a request for a future version.

Best regards,

Michel

>>as some methods may not be intended to be overriden.
>>Just let me know the methods you make virtual, and I
>>will ensure the next release has the methods virtual.
>
>first what I really need is:
>
>Procedure LoadFromStream;
>Procedure Clear;
>
>for ability to make additions events before/after
>open/close
>(also Clear not updated FrameCount)
>
>>To determine the type of image, there is a function
>in
>>EnDiGrph unit which returns the appropriate
>TDibGraphic
>>derived class to load a particular file given the
>filename.
>
>... Index := DibClasses.IndexOf(Ext);
>
>Thats good idea for files, but I works with images
>stored in BLOB fields (justr streams). So I never know
>what type of image inside BLOB, it can be Tiff, BMP,
>JPG...
>
>Konstanin

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