just getting started with processing and wondering if this is possible within processing?
I haven’t succeeded doing this in photoshop.
I need to dissolve an image into smaller party while each part should be an individual layer (or entity) as I must re-arrange those smaller entities later.
So the idea is to draw a path onto an image. Then have cutting boxes follow the path and finally store each cutting box into a new layer/entity.
Anyone ideas how to solve this? with processing? or maybe even other tools?
I think it can be done with processing, don’t have in mind the whole method, but maybe loading an image, pointing to the pixels in your boxes, saving the pixel array of that boxes and then creating a new image with those pixels, or just coping those pixels in other place
Hope this can help you or proportionate a lane of thinking if you don’t have nothing in mind.
Yeah,
use loadImage to load : source = loadImage
make an array of PImage to hold the slices
for loop over the image
use source.get() with 4 parameters
See reference for all these
i show you a example to separate one image into a array of 4 separate images
( like with a click on a “cross-point” )
( no problem if you not like it )
but as you still talk LAYERS instead i want ask if you can describe more in detail what that means
( compared to list of images??? )
you could have a source image and apply multiple masks one after the other and grab the region that is remaining once the mask is applied. a single mask run might look something like