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: 18:32:36 11/06/01 Tue
Author: Michel
Subject: Re: Format conversion and assigning
In reply to: Tomaz Koritnik 's message, "Format conversion and assigning" on 06:11:48 11/06/01 Tue


Hi Tomaz,

At this point I have added you request to my todo list. Envision has followed the VCL approach of deriving graphic classes from TGraphic for individual format, so to convert from one format to another this requires to graphic classes.

I am not sure how I could to this change effectively.

It also comes back to inheritance versus using attributes of an object. Sometimes I have notice OO programmers sometimes mix attributes with inheritance. For example, there could only be one graphic class, with a format property. Then you could have abstract reader/writer classes to read/write the formats. Unfortunately, right now this is not the way it is.

Best regards,

Michel

>Hi
>
> If I want to convert from bmp to tif or any other
>combination, I have to assign data from one DibGraphic
>class to another since one file format is handled by
>one class. What if there would be only one class and
>other "subclasses" to save/load data to this main
>class since data stored in memory is the same for all
>classes and assigning is slow for large images. Or
>maybee one DibGraphic class could move data from
>source to itself without copying and in this way save
>some time. This is just an idea and not a "how to"
>manual. I would certainly need something like this
>many times but I don't know how useful it would be for
>other guys (ofcourse girls included).
>
> Best regards
>
> Tomaz Koritnik
> NEOSYS

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