Page 1 of 2

Check the pixel value (X, Y) of the graphic

Posted: Wed Oct 15, 2014 7:24 am
by Eugene Lutsenko
How can I know the value of the pixel with coordinates (X, Y) and a graphical object?

Re: Check the pixel value (X, Y) of the graphic

Posted: Fri Oct 17, 2014 9:26 am
by Auge_Ohr
Eugene Lutsenko wrote:How can I know the value of the pixel with coordinates (X, Y) and a graphical object?
do you mean RGB Value from 1 Pixel ? what do you want to do with that Value ?

Re: Check the pixel value (X, Y) of the graphic

Posted: Fri Oct 17, 2014 9:18 pm
by Eugene Lutsenko
May be. Yet it would be desirable to be able to read the pixel values ​​for the coordinates in a graphic object to analyze it, for example to draw contours do fill and the like.

Re: Check the pixel value (X, Y) of the graphic

Posted: Fri Oct 17, 2014 11:57 pm
by Auge_Ohr
Eugene Lutsenko wrote:... for example to draw contours do fill and the like.
if i draw a circle and save it as Bitmap. do you want to fill circle of Bitmap ?

Re: Check the pixel value (X, Y) of the graphic

Posted: Sat Oct 18, 2014 6:43 am
by Eugene Lutsenko
In general yes, but only a circle, and any figure formed by a closed line. Moreover, the line color of the shape itself and the background mogut change and we must first select the path to a high gradient (contrast), color and brightness, and then later fill.

Re: Check the pixel value (X, Y) of the graphic

Posted: Sat Oct 18, 2014 3:28 pm
by Auge_Ohr
Eugene Lutsenko wrote:In general yes, but only a circle, and any figure formed by a closed line. Moreover, the line color of the shape itself and the background mogut change and we must first select the path to a high gradient (contrast), color and brightness, and then later fill.
use Photoshop ;)
perhaps XOANON Lib have those Windows API Function for Bitmap manipulation.

Re: Check the pixel value (X, Y) of the graphic

Posted: Sat Oct 18, 2014 9:22 pm
by Eugene Lutsenko
I want to write it all in Alaska and I saw something like it in Alaska, but I can not find. still look for

Re: Check the pixel value (X, Y) of the graphic

Posted: Mon Oct 20, 2014 10:35 am
by Auge_Ohr
hi,

i have played with XOANON Lib and found API Function "ExtFloodFill"
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
ExtFloodFill.JPG
ExtFloodFill.JPG (82 KiB) Viewed 11666 times
Problem : while i have not use a Xbase++ Presspace yet it "just" display ... but will disappear when covered by other Window.
FILLUP.zip
(242.42 KiB) Downloaded 630 times

Re: Check the pixel value (X, Y) of the graphic

Posted: Mon Oct 20, 2014 11:55 am
by Eugene Lutsenko
Cool! And how to write it in Alaska?

Re: Check the pixel value (X, Y) of the graphic

Posted: Mon Oct 20, 2014 4:22 pm
by Auge_Ohr
Eugene Lutsenko wrote:Cool! And how to write it in Alaska?
as i say you need XOANON Lib from Simon Burford ... but it is a lot of Windows API using BAP