Hi Lars

Thanks for sending the program, exactly what I was looking for. I notice that you set 
it up to save the image as a jpeg with a tfw, I will have to tweak the program to 
saveas a jgw file as AutoCAD's raster software does not recognize tfw when inserting a 
jpeg image. I assume whatever program you import the image into allows you to use tfw 
for jpegs?

Thanks to all that replied.

Brian Cowper

-----Original Message-----
From: Lars V. Nielsen (HVM) [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 4:08 AM
To: Cowper, Brian
Subject: Re: MI-L Save map window to image - TFW


Hi Brian,

TFW is not a "georeferenced format", it's a companion file that holds
geographic positioning data, just as MapInfo's raster TAB files does.
However, TFW has no coordinat system info.

TFW is a very simple format, especially if the image is aligned to the grid,
i.e. n o rotation. Then it basically holds just the upper-left X,Y and the
map units per pixel in X and Y.

I've put together a small app, and attaches the source code FYI. If the
attachments don't get thru, I can send it as ZIP.

The app uses the assumption that Pro exports with 96 dpi, which may not be
true with VGA resolution (640x480), but who uses that anymore anyway :-)

Best regards / Med venlig hilsen
Lars V. Nielsen
--------------------------------------------------------
Hvenegaard & Meklenborg
Rugaardsvej 55, DK-5000 Odense C
Denmark
http://www.hvm.dk
----- Original Message ----- 
From: "Cowper, Brian" <[EMAIL PROTECTED]>
To: "MapInfo-L (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 8:38 PM
Subject: RE: MI-L Save map window to image - TFW


> Hi Bill,
>
> I think I saw a recent post on how to do that, it involves pixels and
matching coordinates.
>
> I want to transfer a thematic map to an image file and then import the
image to AutoCAD. The way I go about it at the moment is to have my points
displayed with cross hairs on top of thematic layer, then save map window to
image file and import the image to AutoCAD. I use the points on the image to
align with the duplicate points in the AutoCAD drawing. I save the drawing
and close it, then resave the thematic map, with the points removed,
overwriting the existing image. I open the AutoCAD drawing and I have a
clean image with just the thematic shading.
>
> It sounds a bit cumbersome, but I can do this quite quickly, do you think
writing the tfw would save any time?
>
> TIA
>
> Brian
>
> -----Original Message-----
> From: B. Thoen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 16, 2004 2:13 PM
> To: Cowper, Brian
> Subject: Re: MI-L Save map window to image - TFW
>
>
> Not automatically. You have to write the *.tfw file.
>
> On Wed, 16 Jun 2004, Cowper, Brian wrote:
>
> > Hi Listers
> >
> > Does MapInfo have the ability to save map window images to georeferenced
image files like tfw?
> >
> > Regards,
> >
> > Brian Cowper
> > MapInfo 7.0
> >
> >
> >
> > ---------------------------------------------------------------------
> > List hosting provided by Directions Magazine | www.directionsmag.com |
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > Message number: 12238
> >
> >
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 12240
>
>
>

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12252

Reply via email to