Inserting JPEG into Layout window?

2,696 views
Skip to first unread message

andrew c.

unread,
Apr 9, 2012, 3:31:51 PM4/9/12
to mapi...@googlegroups.com
I posted earlier, but my question and subsequent answers were far too complicated...
 
Essentially, all I want to do is plop a JPEG directly into a Layout window in MapInfo. How can I do this?
 
Thanks
 
Andrew

Mats Elfström

unread,
Apr 9, 2012, 3:45:14 PM4/9/12
to mapi...@googlegroups.com
Hi Andrew!
Hotlinks are for opening some other application, typically based on a search string in the tab file and set according to the filetype of the file.
An html link will open a web browser, a jpg link perhaps a photo viewer.
In order to add an image to a layout, the image needs to be present in a mapper window, so you must register each one as an image (not georeferenced).

HTH Mats.E

 
Andrew

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en



--
______________________________________________
Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
tel: +46 46 145959 / mob: +46 70 595 39 35
alt e-mail: mats.e...@telia.com


andrew c.

unread,
Apr 9, 2012, 4:11:06 PM4/9/12
to mapi...@googlegroups.com
Thank you for the response. I guess theoretically, I can perform this process for each of my 60 jpegs... open the jpeg in an individual mapping window, then inserting a frame for it in the layout window.
 
Sounds like a tedious process!
 
Thanks for the help HTH Mats.E
 
Andrew

David Reid

unread,
Apr 9, 2012, 4:20:40 PM4/9/12
to mapi...@googlegroups.com
Andrew,
 
Regardless if you want to 'Hotlink' to a photo (i.e. be able to click an object and bring up an image of that site,person,project) OR display this image within a Layout, you'll have to have an associated TAB file for the image for Mapinfo to open and or display it.  This is accomplished by using "File open/Raster image" and selecting your image file. Mapinfo will then ask if you want to register the image, or simply display it.
 
If I understand you correctly, you're wanting your images to appear in a layout, so you'll simply need to "display" not register the image, then, you'll need to create frames in your layout which represent this images just as you would a map window.
 
To give you some light at the end of the tunnel so to speak, IF  (great big word here)  IF all your images are the same resolution/dimension, and IF you have an advanced text editor like UltraEdit or TextPad (not sure of that last one).  You could actually create all your TAB files at once, BUT you'll need to be proficient with your fancy text editor to accomplish this.
 
For instance, I have the same similar scenario I did for a particular "offender database" of 93 individuals.  All 93 images were JPG's, almost all were the same dimension (those that weren't I resampled down in an image editor to fit).
 
From there you can open the first image in Mapinfo which will create the associated TAB file, open that TAB file in your text editor to see how it is constructed, then simply create however many TAB files you need for associated images, changing the image file reference in the TAB file for each respective image. Or as Sally indicated, if you're proficient with Mapbasic, you could possibly do a more eloquent job.  REMEMBER, to do this easily, all your images should be the same dimension, or you'll have to adjust your TAB files accordingly.
 
Also bear in mind, this is intended for a large number of images, if you only have a few, you should probably just do them "one off" directly in Mapinfo.
 
 
HTH
David Reid
 


From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of andrew c.
Sent: Monday, April 09, 2012 2:32 PM
To: mapi...@googlegroups.com
Subject: [MI-L] Inserting JPEG into Layout window?

--

andrew c.

unread,
Apr 9, 2012, 5:17:07 PM4/9/12
to mapi...@googlegroups.com
This is extremely helpful! Thank you very much David.
 
Andrew
 

On Monday, April 9, 2012 4:20:40 PM UTC-4, David wrote:
Andrew,
 
Regardless if you want to 'Hotlink' to a photo (i.e. be able to click an object and bring up an image of that site,person,project) OR display this image within a Layout, you'll have to have an associated TAB file for the image for Mapinfo to open and or display it.  This is accomplished by using "File open/Raster image" and selecting your image file. Mapinfo will then ask if you want to register the image, or simply display it.
 
If I understand you correctly, you're wanting your images to appear in a layout, so you'll simply need to "display" not register the image, then, you'll need to create frames in your layout which represent this images just as you would a map window.
 
To give you some light at the end of the tunnel so to speak, IF  (great big word here)  IF all your images are the same resolution/dimension, and IF you have an advanced text editor like UltraEdit or TextPad (not sure of that last one).  You could actually create all your TAB files at once, BUT you'll need to be proficient with your fancy text editor to accomplish this.
 
For instance, I have the same similar scenario I did for a particular "offender database" of 93 individuals.  All 93 images were JPG's, almost all were the same dimension (those that weren't I resampled down in an image editor to fit).
 
From there you can open the first image in Mapinfo which will create the associated TAB file, open that TAB file in your text editor to see how it is constructed, then simply create however many TAB files you need for associated images, changing the image file reference in the TAB file for each respective image. Or as Sally indicated, if you're proficient with Mapbasic, you could possibly do a more eloquent job.  REMEMBER, to do this easily, all your images should be the same dimension, or you'll have to adjust your TAB files accordingly.
 
Also bear in mind, this is intended for a large number of images, if you only have a few, you should probably just do them "one off" directly in Mapinfo.
 
 
HTH
David Reid
 


From: mapi...@googlegroups.com [mailto:mapinfo-l@googlegroups.com] On Behalf Of andrew c.

Sent: Monday, April 09, 2012 2:32 PM
To: mapi...@googlegroups.com
Subject: [MI-L] Inserting JPEG into Layout window?
Reply all
Reply to author
Forward
0 new messages