MapPoint Forums

MapForums

Community of VE/MapPoint 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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #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


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 10:55 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Stansted Flights
Stansted flights are great value when you book with Holiday Hypermarket. You can find plenty of information about destinations and even UK airports online at Holiday Hypermarket.

Family Holidays
Family holidays, ski holidays, cruises, luxury holidays. Whatever your travel needs your personal Travel Counsellor can help.

Cuba Holiday
A Cuba Holiday has so much to offer with numerous different cultures affecting the sights, sounds and tastes. Visit this fascinating country with dealchecker.co.uk.

Holidays to Mauritius
Visit the paradise island in your holidays to Mauritius. Enjoy the friendliness of the locals, the warm of the sun and the beauty of the views!

Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?

Holiday Packages
Spoil yourself and your loved ones with one of the great Holiday Packages from Travel.co.uk.

Goa Holidays
Enjoy the warm and sunny climate of Western India. Visit On The Beach for information on Goa holidays.


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