Joe,
 
You can place any number of JPEG images (or grid files for that matter) into a single aggregate, which is treated as a single group.  The following code from GRIDIMG4  GX illustrates how to do this for 4 images:
 
   // --- create aggregate ---
 
   Agg = Create_AGG();
 

   // --- add grids to the agg ---
 
   LayerIMG_AGG(Agg,sGrid1,iZone,sColor1,rDUMMY);
   LayerIMG_AGG(Agg,sGrid2,iZone,sColor2,rDUMMY);
   LayerIMG_AGG(Agg,sGrid3,iZone,sColor3,rDUMMY);
   LayerIMG_AGG(Agg,sGrid4,iZone,sColor4,rDUMMY);
 

Note that for JPEG images (and other "picture" formats) the iZone and sColour arguments are not used (I suggest you use 0 and "" respectively).  Where the images overlap, the colours are blended.
 
Ian

_______________
Geosoft Inc.
Ian MacLeod
[EMAIL PROTECTED]
(416) 369 0111 x323

Software and services for effective earth science decision-making.
Free Oasis montaj interface now available at http://www.geosoft.com

-----Original Message-----
From: Joseph S Duval [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 12:06 PM
To: [EMAIL PROTECTED]
Subject: [gxnet]: Grouping Images


Is there a way to group images?

What I have are a bunch of JPEG images that I would like to place on a map (via a modified version of GRIDIMG) such that they are all part of a single group that could be hidden or not as desired.  I can use the modified GRIDIMG to specify where I want an image to go easily enough but I cannot tell whether or how I might append an image to an existing group (i.e. image(s) ).

Is the answer that I have to do the layout in some other program (such as Adobe Illustrator) and then import the composite image?

*******************************************************************************
Joseph (Joe) S. Duval
Geophysicist, Eastern Mineral Resources Team
12201 Sunrise Valley Dr.   MS 954
Reston, VA 20192
Phone: 703-648-6106         FAX: 703-648-6383

Reply via email to