[ 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: 21:43:59 02/02/01 Fri
Author: Michel
Subject: Re: Move (translate) and combine TIFF Images
In reply to: John S Robinson 's message, "Move (translate) and combine TIFF Images" on 05:44:11 02/02/01 Fri

Hi John,

You can copy one image to another using the TDibGraphic.Canvas.Draw method. All graphic classes of Envision are derived from TDibGraphic.

What you need to do is to create a new TDibGraphic (or a derived class such as TBitmapGraphic) and call NewImage to set the image format and size of the image. Then you can copy other TDibGraphic images to it using:

NewGraphic.Canvas.Draw( X, Y, SubGraphic );

Another approach would be to copy pixel by pixel using the TDibGraphic.RGB property, but using the canvas will give you the simplest code.

Best regards,


>I want to be able to assemble a number of images (I
>have TIFFs at the moment) into a larger image.
>I have looked for function to move an image, or to
>copy one image into another at given co-ordinates, but
>I can't see it.
>Am I missing something, or is this something Envision
>is not (at the moment) suitable for.
>John S Robinson Tel:
>University of York Computing Service Fax:
>Heslington, YORK. YO10 5DD email:
>www-users.york.ac.uk/~jsr1 - but I wouldn't bother
>if I were you

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