Print at Dec 25, 2025, 10:13:50 PM

Posted by agscontact at Dec 28, 2009, 7:18:00 PM
x,y coordinate
If i open the generated png image in mspaint,i can get the coordinate of a furniture.Say i have a sofa in the image which is at 200px,300px position(centre of the sofa) in the image(image size is say 600*800),this info i can get if i open the png image in mspaint and check the coordinates by puting mouse over the furniture.
I wanted to generate a file containing furnitures along with pixel position of the furnitures in the generated png image.Can i get this pixel positions while creating the image,through code?