简体   繁体   English

getRGB返回不同的值

[英]getRGB returns different value

The first time I call getRGB it returns white, but the second time I call it, it returns black. 第一次调用getRGB时,它返回白色,但是第二次调用时,它返回黑色。

Why does BufferedImage's getRGB return a different value after the 2nd time I call it? 为什么第二次调用BufferedImage的getRGB返回不同的值?

Because the data has changed? 因为数据已经改变了? (Possibly through incremental loading.) (可能通过增量加载。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM