[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ASP.NET programically cut image up for zoom purposes

Posted on 2007-07-30
7
Medium Priority
?
706 Views
Last Modified: 2013-12-25
I need to be able to zoom in on a map and read very small text.  I have chopped the image into smaller peices and zoomed that way but the map will change from time to time, and cropping the image everytime is going to take too much time.  Is there anyway to programatically take a large image and chop it into smaller equal peices.  Basically, I would want to upload a very large image that would have all the detail and then chop it up into smaller images in order so that I could zoom by a certain percentage every time the user clicked on the map.  Also, keep in mind, I am going to be placing small images on top of the map that will have to re-locate with each zoom level.  

If anyone knows of any components that you can simply insert an image into and then allows you to drag images on top of that image, that would be great.
0
Comment
Question by:Diddy433
  • 4
  • 3
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19593664
>>I have chopped the image into smaller peices and zoomed that way
How did you do this?

Bob
0
 

Author Comment

by:Diddy433
ID: 19594333
By literally going into photoshop and cropping images that are sections of the original.  I make the cropped images the same size as the original.  When they click on an area, you show the cropped image which is a portion of the original image.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19594848
How large are these images?  What are the image types?

Bob
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Diddy433
ID: 19595236
JPEG,  The image is going to be approximately 6000 pixels wide by 12000 pixels high.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19595298
What development platform are you thinking about (or using)?

Bob
0
 

Author Comment

by:Diddy433
ID: 19595661
It would be .NET 1.1 I believe.  I am not sure if that is what you mean by development platform.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1500 total points
ID: 19595818
I believe that the ASP.NET framework (GDI+) has memory issues with images that big (Out of Memory errors).

Here is a VB.NET test:

Dim image As System.Drawing.Image = Image.FromFile(Server.MapPath(fileName))

Bob
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to count occurrences of each item in an array.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question