0 Replies Latest reply on Jun 1, 2007 1:02 AM by NikoHelle

    getColorBoundsRect cant find 1pixel at (0,0)

    NikoHelle
      Hi,

      I'm searching an image for pixels of a certain color. I'm using getColorBoundsRect because I slice the image and check slices for the color and if color if found, I slice it more until certain minimum size is reached. Check every pixel one by one is too slow....


      But there is a bug. If the slice has only one pixel of searched color at (0,0) it wont find it! Test it yourself:

      The code is so simple, it cant have bugs? :) Right!?

      Br,
      Niko