As our photographer takes photos, they are wirelessly transferred to a folder (this is already done).
The program I need written needs to constantly monitor this folder for new .jpg files by checking it once every 5 to 10 seconds. The program should run with no visable window, in the background, preferably in the taskbar. The user never needs to interact with the program.
When the program finds new .jpg files I want it to put a line of text over top of the photo at the top left cormer, and then rename it. In the process of doing this since you’ll be recreating the file, I want to make the file size smaller by adding more jpg compression.
Text reading www.ColorsParty.com in bright-yellow should be in the upper-left corner of the photo. The file should then be renamed to “Colors Party Photo 001”. If 001 exists, then do 002,003, etc.
(1) The path to the folder, the text string to display on the photo, and the file name text preceding the number should be held in an .ini file for easy modification. The .ini file should also store the font size and font color of the text, as well as the jpg compression amount (1-100).
(2) Be aware that a viewing program (already made) reads photos from the same folder and displays a slideshow. This is important because if your program tries to erase a .jpg file or write over it while the viewing program is reading it, you’ll get an error. This will not be a problem, however, since the viewing program only reads the files once a minute. You just need to have your program anticipate that an error could happen, and if so, just wait 2 seconds and try it again. This will solve any issues properly.
(3) The program should IGNORE any files that begin their filename with an exclamation mark(!). I will sometimes place photos in the folder that should not be renamed or modified, these will have filenames beginning with an “!” character.
(4) The program should only check for .jpg files and ignore any other types that may be in the folder.
(5) Operating systems will be Windows XP, 7 and 8, and your program will start at system boot by startmenu shortcut, and will have no user interaction at anytime.
(6) If it is important, be aware the we are using all widescreen photos, and right now we’re using a resolution of 3968x2232, but soon we’ll be lowering this resolution.
Note: I've attached a photo of how the end product is suppose to look.