Rao,
I wish no popups of ximage
I explain you
I made last year a test to crop a portion of Image
I need it for sample when I have an image with many people and I wish crop only one face
my test with Image class run ok as you can see here
Pido disculpas a las personas representadas en esta foto
Es solo un ejemplo de cómo funciona la prueba
Lo siento por Otto, Maurizio, zazelon y Reinaldo
I apologize to the people depicted in this picture.
Sorry per Otto,Maurizio,zazelon and Reinaldo.
it's just an example of how the test works
Now I wish use Ximage ( and not use freeimage.dll) and I have many problems
because when I try to draw a RectDotted Box with the mouse with the command
oImage:bLClicked
move all image and the RectDotted Box is not draw on the image
On old test ( with Image class)
@ 0, 0 XIMAGE oImage SIZE 280, 200 OF oCattura
oImage:bLClicked = { | nRow, nCol | MouseDown( oImage:oVScroll:GetPos()+nRow, oImage:oHScroll:GetPos()+nCol) }
then I cannot converte this command "oImage:oVScroll:GetPos()+nRow" run good with Image
It not Found getpos() with is the getpos() of ximage class?
I need it because can be the image is big and I use vertical and horiz scroll
when I move the mouse on a point I must draw the RectDotted Box to crop the area
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com