|
I am thinking of an app (C# windows app ) as it just needs to be started once - it must itself stand and loop - so it detects when there are new images also the to run automatically afterwards. Please enlighten me some ideas I will be ever so grateful.
PS. I am using Visual Studio 2010
Kind Regards
JG
|
|
|
|
|
This makes very little sense as it stands right now. I'm sure that you have a great understanding of what you want your application to do, but sadly, you haven't managed to convey it. For instance, what does it need to run automatically?
As far as monitoring for new images, take a look at the FileSystemWatcher , but be aware that there are some limitations with it that you need to understand based around when it fires events.
|
|
|
|
|
Well I am sorry for not being very clear, the scenario is like this, I get a number of HDR pictures in a folder, I have a program which batches these images and put them out in different folders, This particular program can also be used with command-line, So what I am trying to do is create an windows app, where I want to use this particular command, so all the images go in a single folder. Therefore I want construct this app where once I have started it giving it a source, it should keep running and once new images arrive it just simply updates. I don't know if it's clear enough or its simple not logical.
|
|
|
|
|
Okay, some things to think of - you will want to put your processing on background thread, I would recommend using the Task Parallel Library for this as it's so easy to use. I'm not clear on whether you are moving the original image, or copying them - if you are copying them, then move them into a processed folder as soon as you are finished.
|
|
|
|
|
I make it even simpler in one folder I put an app which on Run command runs and checks its existence. Lets says there are jpg images in it e.g image1 image2 image3 then it loops checking if there is more. If there is nothing it just keeps running and if there are new it just updates.
|
|
|
|
|
I'm not sure what you want from me here. It sounds like you know exactly what you have to do here, so good luck with it. Please feel free to come back with any specific problems you have.
|
|
|
|