Recommended Answers
Jump to PostHiya,
Something like this:
string folderPath = @"C:\Users\Dan\Pictures"; string[] fileList = Directory.GetFiles(folderPath); foreach (string file in fileList) { //do something to file //'file' contains path as string }
or if you want to select a folder at run time you can look at a FolderBrowserDialog rather …
Jump to Postavg must be getting set somewhere earlier in the code.
I think this will be easier if you just upload your project and we can go through it and find the bugs for you :) It seems as though there is something systemic going on here since every time we …
Jump to Postaaah, i see. That is what confused me, i assumed you were merging the filters into one which is counterproductive :)
I'll take another look in the light of this fresh perspective ;)
Jump to Posti think region classification needs some attention. It hit errors in a couple of places so you might wanna have a quick scan through and check the logic is sound :)
Jump to PostHi,
im not sure how you fixed the bitlock issue, but just for clarity, the Bitmap type is a Class and therefore a reference type. So when you did dstImage = srcImage; you were simply storing a reference to srcImage. So when you tried dstImage.LockBits() you were attempting to …
All 45 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.