jav...@javadesktop.org wrote:
What happens with this sequence:

int newVal = ...
image.setRGB(x, y, newVal);
int newVal2 = image.getRGB(x,y);
System.out.println(newVal == newVal2);

Does it print false?

  Note that there are conditions when it will indeed print false.

  For example, for Indexed images (see BI.setRGB() spec).

  Thanks,
   Dmitri

===========================================================================
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
lists...@java.sun.com and include in the body of the message "help".

Reply via email to