Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi everyone :-)

i have a very large jpg picture -represent engineering chart of mall-
the dimentions : 17000 * 13500 pixel
the size : 140 MB

i need to show a part of this picture on screen and the user can move by mouse to see the another parts and zoom in and out and add points at this chart
may be the appearance like google maps or bieng map ......

by c# .... from where should i start ?
and what the advices you can give to me ?

i am very thankful for help :-)
Posted
Updated 21-Sep-11 8:00am
v3

My best advice would be: go away from pixel graphics, especially if this is engineering chart. You can easily render the image our of vector model with blazing speed. It is especially easy if you use WPF; in this case you won't need to take care about rendering, zoom, panning — all this is already done for you.

Few more ideas: you can create/use SVG graphics and convert it to XAML using open-source Incskape, see http://en.wikipedia.org/wiki/Inkscape[^], http://www.inkscape.org/[^], and you can use XAML in your product during design-time and run-time. You can even allow your user the create custom image in XAML and include them on your charts during run-time; and this is easy to achieve. You actually don't even need to know XAML format to do that.

How about that?

—SA
 
Share this answer
 
Comments
#realJSOP 21-Sep-11 18:22pm    
I don't think he's *creating* these images. I think he's processing existing images.
Sergey Alexandrovich Kryukov 21-Sep-11 18:38pm    
Yes of course, but I hope such data can be created or retrieved from original source, because all technical drawing is usually done in vector. And conversion (or even reverse engineering) can be a problem, but migrating to vector can be very important step. Pixel graphics will lead nowhere, especially in this field.

Does it make sense?
--SA
obada dawara 21-Sep-11 21:28pm    
thanks a lot :-)
i read about the WPF and SVG in wikipedia
i think this is what i need

may i ask you two questions :
1- how can i convert from pixels image to vector .... because the source say : there is no another picture or design files !
2- can you give me a links or books about working with WPF in c#
and SVG or XAML

i have just 2 monthes to end this project :-)

i'm greatful you :-)
This should keep you busy for a while:

Almost 51 MILLION google results for "C# images" [^]
 
Share this answer
 
Comments
obada dawara 21-Sep-11 14:14pm    
thanks..
but..
i know how to use google :-)
and i am talking about extra large image ,not normal image
#realJSOP 21-Sep-11 16:08pm    
Apparently, you don't. Lookup imagemagick
obada dawara 22-Sep-11 10:38am    
how imagemagick can help me ??
#realJSOP 22-Sep-11 17:32pm    
I handles large images, and can be used as either a dandruff cure or salad garnish.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900