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 3 of 3

Using a mappoint image

This is a discussion on Using a mappoint image within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I have a gif file generated using mappoint. I am trying to embed this image in a PDF file. ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Using a mappoint image

    Hi,
    I have a gif file generated using mappoint.
    I am trying to embed this image in a PDF file.

    When I try to load the gif file using the VB.Net function call:

    Image.FromFile("xyz.gif")

    where xyz.gif is the image of the map generated using mappoint.


    I get an "Out of Memory" exception.

    Has anyone faced this problem ?

    Thanks,
    -Amit

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Can you load any other images with the same code and just not the ones generated by mappoint?

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Yes all other images can be loaded with the same code. Even other ".gif" files (non Mappoint) can be generated.


    The .Net documentation for Image.FromFile says that "Out of memory" exception occurs only if the image format is not valid.

    But we can open the image in other applications like IE, MS Imaging, MS Paint etc.


    Is there something specific to Mappoint images that cause the call to fail?

    Thanks,
    -Amit

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Save map as image
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-28-2012, 09:16 AM
  2. I need to use my own JPG image as a symbol
    By BobFromBoston in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-11-2006, 08:32 AM
  3. MP web services image quality, can we improve image quality?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-08-2005, 10:54 AM
  4. Different image size
    By webjagger in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-24-2004, 08:14 AM
  5. Retriving an image
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-27-2003, 08:42 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