On 07.01.2014, at 15:19, Herbert König herbertkoenig@gmx.net wrote:
Hi,
Form>>pixelCompare:with:at: seems to always return 0.
I use it like |pict1 pict2| pict1 := (Form extent: 100@100 depth: 32) fillBlack. pict2 := (Form extent: 100@100 depth: 32) fillWithColor: Color red. pict1 pixelCompare: pict1 boundingBox with: pict2 at: 0@0
As I get the same result in a 4.4 and a 3.8 image I guess I don't understand how it's used. No senders in either image.
Try 16 bit forms.
- Bert -