Click here to Skip to main content
11,806,026 members (54,816 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Image-Processing
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 0:49am
Edited 5-Jun-11 22:20pm
Rate this: bad
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.
om22may at 4-May-11 7:17am
Hi BobJanova....
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
Thanks Again....
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Create an Image object and save it to the required format; see here[^]
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 Richard Deeming 225
1 OriginalGriff 215
2 Sergey Alexandrovich Kryukov 170
3 ppolymorphe 125
4 Abhinav S 118
0 OriginalGriff 3,300
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 6 Jun 2011
Copyright © CodeProject, 1999-2015
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