Good day !
There is a code:
for (int zoomLvl = 0; zoomLvl <= ImageZoomQuantity; zoomLvl++) { // некий код, из которого я получаю изображение for (int i = 0; i < row; i++) { for (int j = 0; j < col; j++) { // каждая итерация возвращает поделенную часть от изображения, которое получил выше } } } From the first cycle I get an image and in the second and third cycle I divide this image into parts. I want to make a stream from each iteration of the first cycle.
Is there a way to break the for loop into streams? And is this a good idea?