Boris,
You can crop any Image-format.
The tool, I have created last year.
Starting with a new update, I got some new ideas.
1. a new button < crop > that just crops the image to the defined Name
the new name is the original + _1 like Olga.jpg to Olga_1.jpg
with the other button You can save the new image to a different place.
2. Now the < Reset-button > closes the crop-dialog and restores the original
3. Mouseclick top / left and bottom / right defines the crop-area
4. Now the < crop-button > creates the new image and shows it on screen.
We still need a solution to paint the box (yellow frame), after the second mouseclick ( bottom / right ) to show the area !!!
Any ideas are welcome.@ 5, 5 IMAGE oBmp FILENAME cWorkFile OF oWnd ;
SIZE nSWidth - 30, nSHeight - 130 PIXEL SCROLL
oBmp:bLClicked := {|nRow,nCol| ( nCounter ++, GET_VALUES(nRow,nCol) ) }
< nCounter > counts the mouseclick. Value 2 means < bottom / right >
GET_VALUES(nRow,nCol) shows the crop-area
top, left, bottom, rightnext we must use theses values to draw the box !!!!
Best Regards
Uwe