In a way, yes, but it's not as bad as you might think. Any principle can be taken to the extreme, which makes it inconvenient.
The question is, if later you want them to be separated from each other, because you want this static object to be applied to other images, or you want to implement a much more complex method that can be applied to other data types.
All in all, itβs easy enough to refactor java, which I suggest you go with what makes sense now, and just remember to revise it when it seems like it might cause you some difficulty.
source share