MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Using a mappoint image

This is a discussion on Using a mappoint image within the MapPoint 2006/2009 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. ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-16-2005
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Can you load any other images with the same code and just not the ones generated by mappoint?
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-16-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
image, mappoint


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
I need to use my own JPG image as a symbol BobFromBoston MapPoint 2006/2009 Discussion 1 02-11-2006 07:32 AM
Save map as image Dazzer MapPoint 2006/2009 Discussion 1 05-23-2005 05:45 AM
MP web services image quality, can we improve image quality? Anonymous MapPoint 2006/2009 Discussion 1 02-08-2005 09:54 AM
Different image size webjagger MapPoint 2006/2009 Discussion 0 06-24-2004 07:14 AM
Retriving an image Anonymous MapPoint 2006/2009 Discussion 1 11-27-2003 07:42 PM


All times are GMT -5. The time now is 12:54 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!



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