Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ImageProcessing
Hi, I am not looking for any third party tools, want to do programatically.
 
Please guide me in this regard.
 
Thanks in Advance.
Posted 26-Apr-11 1:49am
OPees2.5K
Edited 5-Jun-11 23:20pm
v11
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you can't do it through the Image object, you will have to do it manually. That process is, roughly speaking:
- make a data class which represents the internal semantic structure of the file which you want to preserve
- write a data reader that takes the input format (in your case DGN) and extracts the semantic information into an instance of the data class
- write a data writer that takes an instance of your data class and creates a file of the target output format (PIX).
 
Obviously this requires that the file formats are either publicly documented or easy to reverse engineer, and that both file formats are capable of storing the semantic information you care about. Spatial information is a relatively specialist thing and you should first check that it will be possible to store that in a PIX file.
  Permalink  
Comments
om22may at 4-May-11 7:17am
   
Hi BobJanova....
Thanks...
I am new in GIS Domain, Can you elloborate it More.....
BobJanova at 4-May-11 13:53pm
   
No, I'm sorry, I know nothing about the file formats you mention. The general advice I gave in the solution is as far as I can go.
om22may at 5-May-11 2:07am
   
Ok..
Thanks Again....
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Create an Image object and save it to the required format; see here[^]
  Permalink  
Comments
om22may at 28-Apr-11 2:24am
   
Hi Nagy Vilmos,
Thanks for quick reply, image conversion we can do like this but i want to retain spatial inforamation which is not possible through this.

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

  Print Answers RSS
0 OriginalGriff 200
1 Kamal Rocks 184
2 PIEBALDconsult 150
3 BillWoodruff 148
4 Jochen Arndt 135
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 6 Jun 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100