[ 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: 1234567[8]910 ]

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

Date Posted: 07:45:19 01/08/01 Mon
Author: Michel
Subject: Re: Draw in bitmap - 256 color palette
In reply to: Poul Halgaard 's message, "Re: Draw in bitmap - 256 color palette" on 17:17:42 01/05/01 Fri

Hi Poul,

I think I understand a bit more what you need. Envision does not handle very well 256 colors video card modes. I have spent a bit of time trying to optimize palettes and messing around with the windows "system" palette, but I prefer to concentrate on other areas of the library, as computers with video cards that don't go beyond 8 bits are becoming less and less common.

I'm still not completely sure about this problem. Does this only occur on 8 bit video adapters? In 16 bits or more, it should be possible to convert a bitmap to 256 colors and display it properly. It may be the interaction with the VCL's TBitmap.

Best regards,


>I use the funtionality in order to display 24 bit
>bitmaps on a 8 bit display so I want to handle the
>palette. But you are right - that is very troublesome
>and I hate it too, but it's the way it is ;-)
>I would regard it a functionality many people would
>want. So I'll suggest some method being able to do it.
>Maybe an assign-like method or maybe some way to get a
>palettehandle to put into the dest. TBitmap before
>using Draw to draw the bitmap into it. I would prefer
>to get a solution from you but I could also make it
>myself using the memorystream strategy, but I'm afraid
>it could be slow and I need it to be kind of fast.
>Also as I said I think many would really like to have
>this method in your lib.
>Rgds Poul Halgaard

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