Uwe,
Thank you so much for your help and work!
I made a beginners mistake - I didn't read instructions carefuly enough. The line says that the file name CANNOT contain and spaces or some strange characters!
And I was using the folder "d:\razvoj\Uwe project" and inside the file "test.jpg"
It didn't work, it didn't crop, just write back the file with different name (test_1.jpg) but the same size - no cropping! The spaces in complete image name...
Then I renamed the folder d:\razvoj\Uwe project" to d:\razvoj\Uwe" and it works perfectly!
I finaly managed to crop only the beautifull eyes from Olga's face
I tested also one file 32MB of size and cropped out only small uppper part. Worked excellent! The file is BMP and the result is automatically also BMP, much smaller of course, being cropped.
I need your permission to use the main logic of your "convert.exe" and implement only cropping in one of my applications.
Do you mind if I use your code?
Thank you again for your work
Boris
BTW: any chance to make that rectangle resizable by mouse? This would be great...