#I have problems with findbugs "may expose internal ..."

5 messages · Page 1 of 1 (latest)

ripe palm
#

How can I make an exact copy of a BufferedImage?

twilit viperBOT
#

This post has been reserved for your question.

Hey @ripe palm! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

cerulean mulch
#

An exact copy of any conceivable BufferedImage may be a bit too complicated.
See if it wouldn't work to just assume it is an RGB 24bits image, create another RGB 24bits image of same width and length, and copy the pixels over

ripe palm
#

it worked ty