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


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

Date Posted: 07:35:07 02/26/01 Mon
Author: Michel
Subject: Re: RGB or Scanline
In reply to: Bob Villiers 's message, "RGB or Scanline" on 17:18:55 02/23/01 Fri


Dear Bob,

Using the ScanLine property will be slightly faster (but maybe not noticeable depending on the operations), because the RGB property is accessed for every pixel and it may do some conversion from an RGB to a palette index if you are manipulating black and white or palette images. With the RGB property, you don't have to worry about the layout of the bits within the scan line.

Best regards,

Michel


>I have been working on mixing two TdibGraphic images
>(same size,same image format) using Earl Glyn's Tween
>example as a model. The images are 2200 x 400.
>
>This involves separating the R,G and B component of
>each pixel in each image and creating a new image
>where the corresponding pixel is the weighted addition
>of the two contributing images. I tried using the RGB
>property and the scanline property. Both worked but
>both were too slow for my purposes.
>
>I have now found an alternative solution to the
>problem, but for future reference, what would be the
>preferred method for pixel level work, RGB or
>Scanline. In the example above there did not appear to
>be a great difference.
>
>Bob

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


Replies:


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