mrmat wrote@rolf: Round Corners is done, and as for the command line interface, i think its possible, but would you prefer
to display the GUI window or keep it hidden.
Thanks! :cool:
I really like the interface of your program. What could also be cool for basic users is to add drop and drag support to the listbox.
For the command line, do whatever is easier for you, it doesnt really matter that much, as long as resizing can be completed from the command line, and program closes when execution is done.
Ideally, you could implement a /nogui switch so that this can also be controlled from the command line.
If it is to be used from scripts, then returning and error code and outputting progress and results to the command line is also often useful.
This would be an example of how it could look like (for resizing a whole directory)
c:\>Lebresizer /nogui /w 200 /h 150 /in "c:\users\rolf\picture\for_resize\" /out "c:\users\rolf\picture\resized\" /roundradius 20
Done resizing 1.jpg
Done resizing 2.gif
Done resizing bleh.gif
3 images resized successfully.
Or well, a single image without rounded corners (which is corrupted)...
c:\>Lebresizer /nogui /w 200 /h 150 /in "c:\users\rolf\picture\for_resize\bleh.gif" /out "c:\users\rolf\picture\resized\"
Failed resizing bleh.gif
0 images resized successfully.
Hope I dont sound too much like your boss, just communicating my vision. Of course, feel free to do whatever you want in the end.