Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends i want to devide an image to four parts two green sub part one red part and one blue part then encode the one green sub part and decode it again and by using that decoded green sub part encode other sub parts (red blue & one remaining green sub part) so how to devide image to sub parts & encode it please help me. Thanks
Posted

1 solution

Check out the next article on codeproject with some example code on how to process the image. In your case extract the r, g, and b information.
Image Processing for Dummies with C# and GDI+ Part 1 - Per Pixel Filters[^]

Good luck!
 
Share this answer
 
Comments
maheshpardeshi 8-Jan-12 15:08pm    
I have seen it allready I want to encode an image using another image how to do this
E.F. Nijboer 8-Jan-12 15:26pm    
Could you explain more clearly what you mean with encoding? Maybe with an example? And/or what you expect as outcome.
maheshpardeshi 9-Jan-12 4:02am    
Actually I wnat to compress an image.so I want to devide an image in two green & one blue & one Red sub part & by using Green sub part i want to encode (means Compress) other part that is red & green & blue part of remaining image
E.F. Nijboer 9-Jan-12 12:10pm    
Using the code shown in the article you can easily divide the colors and compress them using code from the following article: http://www.codeproject.com/Articles/66269/Programmatically-Compress-and-Decompress-Files

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