[ 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: 123456789[10] ]

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

Date Posted: 07:37:00 05/03/00 Wed
Author: Michel
Subject: Re: background image on TIF file pages
In reply to: Davide Garzetti 's message, "background image on TIF file pages" on 05:11:38 05/02/00 Tue

Dear Davide,

The first thing you need to do is to create a new tiff file with the overlayed images, as you can only append images to a tiff file.

For the overlaying part, you'll need to interate over every pixel in the source and destination image. This is assuming all images are the same dimensions.

You can use the RGB property of the TDibGraphic class to access each pixel individually. You need to combine the pixel of both images to obtain the overlayed imaged. I guess you may combine them in different ways, ie, averaging their Red,Green, and Blue values to create the overlayed images. In the EnTrans.Pas unit, you'll find examples on how to use the RGB property. The TConvertToGrayTransform is an easy example to understand.

Best regards,


> What is the shortest way to overlay a single page TIF
> image on each page of a second TIF file?
> Thanks.

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