Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 7 of 7

Convert .ptm to .jpg

This is a discussion on Convert .ptm to .jpg within the MapPoint Desktop Discussion forums, part of the Map Forums category; Can this be done? How...

  1. #1
    dkirk is offline Junior Member White Belt
    Join Date
    Oct 2003
    Posts
    2

    Convert .ptm to .jpg

    Can this be done? How

  2. #2
    Syd
    Syd is offline Member Yellow Belt
    Join Date
    Aug 2003
    Posts
    42
    You can do it with e.g. the Lead Tool Control.

  3. #3
    hound is offline Junior Member White Belt
    Join Date
    Mar 2005
    Posts
    3

    .ptm to jpg convertion

    Hi Syn,

    I am trying to find a way to convert Map Point's .ptm file into a jpg or perhaps a .png file.

    I picked up this old thread were you mentioned it was possible with
    a "Lead Tool Control".

    Can you tell me what this is and such informtion please?

    Cheers

  4. #4
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    No need to convert a ptm really. use the "SaveAs method" (use geoFormatHTMLMap) to save as a web page. It will generate a .gif of the map.

  5. #5
    hound is offline Junior Member White Belt
    Join Date
    Mar 2005
    Posts
    3

    converting to html

    Thanks!
    However, saving it as an html page, then saving this html image as a gif, only produces a 'screen shot' of the image, thus any zoom-in functionality becomes redundent.

  6. #6
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Your not saving it as an html page, then saving this html image as a gif.
    I have no idea what you mean by "thus any zoom-in functionality becomes redundent" If you create a jpg or a gif of a map in mappoint there will not be any zooming, it will be a static graphic. I'm sure you know that so I dont know what you are saying?

    Try this, save as a webpage interactivly using mappoint (from the
    file menu click save as webpage) The gif file will be in the subfolder that is created based on the filename you provide. When you open the dialog to save as webpage you will see you can specify the size of the image.

    or if you were doing it in code it might look like this:

    Code:
    Dim objApp As New MapPoint.Application 
      Dim objMap As MapPoint.Map 
      Dim objRoute As MapPoint.Route 
      Dim objSW As MapPoint.SavedWebPage 
    
      'Set up the application 
      Set objMap = objApp.ActiveMap 
      Set objRoute = objMap.ActiveRoute 
      objApp.Visible = True 
      objApp.UserControl = True 
    
      'Create a route 
      objRoute.Waypoints.Add objMap.FindResults("Seattle, WA").Item(1) 
      objRoute.Waypoints.Add objMap.FindResults("Redmond, WA").Item(1) 
      objRoute.Calculate 
    
      'Use SavedWebPages property to create a saved Web page 
      Set objSW = objMap.SavedWebPages.Add("SavedWeb", _ 
        objRoute.Waypoints.Item(1).Location, "New Title", _ 
        True, False, True, 760, 570, False, True, False, True) 
      objSW.Save

  7. #7
    hound is offline Junior Member White Belt
    Join Date
    Mar 2005
    Posts
    3
    Got little confused in my description there.

    What I was trying to get was a close-up image (with detail) of an extent, of a large area, say an area of a major city, which would result in a rather large file. Hence, I wished to learn how to convert the original map file to antoher format.

    Thanks anyway.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. which is the transformation that MP use to convert....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 07-02-2008, 02:57 PM
  2. Convert Lat Lon to X Y
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 9
    Last Post: 04-27-2006, 11:09 AM
  3. Help: convert VB code to Delphi!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 10-06-2004, 02:02 PM
  4. Convert to Lat/Long
    By wallacech in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-26-2004, 01:37 PM
  5. Convert to Add-In
    By David Kachuck in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-06-2003, 04:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96