I'm trying to use the SubtractComposite on an image I have and for whatever reason it throws this bizarre error:
java.lang.IllegalStateException: Input image must store pixels as ints. Convert your input image using 0
My code is
val secondImage = ImmutableImage.loader().fromResource("/second-image.png")
image.composite(SubtractComposite(1.0), secondImage)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
I'm trying to use the SubtractComposite on an image I have and for whatever reason it throws this bizarre error:
java.lang.IllegalStateException: Input image must store pixels as ints. Convert your input image using 0
My code is