Tiff image overlay

Discussions about document viewing.
Post Reply
anasrallah
Posts: 10
Joined: Sat Apr 19, 2008 1:50 am

Tiff image overlay

Post by anasrallah » Sun Mar 24, 2013 11:16 pm

is there a way to load two images on top of each other in one gdviewer control?
I have some overlays saved in tiff format (old software) and I'm trying to migrate to gdpicture.
the tiff will be another layer of the jpg image.

if that's not possible can I have two gdviewers on top of each other and have the top one be transparent somehow?

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Tiff image overlay

Post by SamiKharma » Mon Mar 25, 2013 2:29 pm

Hi,

Unfortunately, neither option is available.
You can how ever implement what you want by combining the two images, and redrawing the resultant image in the GdViewer.
Here is the function that allows you to do that:
http://guides.gdpicture.com/v9/html/con ... nMode.html

Cheers,
Sami

User avatar
Loïc
Site Admin
Posts: 5671
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Tiff image overlay

Post by Loïc » Mon Mar 25, 2013 7:27 pm

if that's not possible can I have two gdviewers on top of each other and have the top one be transparent somehow?
Hum, this is possible. The GdViewer is a container object, so you should be able to overlay or embed any object on it.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest