0

I'm looking for a good workflow in dealing with a document like this. The files need to be JPEG, but I also can't have any white around the planks. Is there a smart way to select and separate each plank into its own layer, and then export them all at once?

enter image description here

2
  • Select cut paste is the easy bit. Export all at once… I'm assuming you want each cropped to one plank rather than each in its existing place? I don't know how to do that other than manually with Undo between each layer. Life would be a lot easier if all the planks were the same size, then you could paste all at centre & crop once… i.stack.imgur.com/FcfB9.png If you only have to do this once, then the manual steps would be OK, 100 different, might get dull... – Tetsujin Mar 29 at 18:07
  • Split to layers script. It carries the original layer name over to each resulting layer. — I would then likely use (any) script for batch renaming layers to at the very least add file extension .jpg to each layer and then just File > Generate > Image assets. – Joonas Mar 30 at 7:09
0

First, to select without white line, the best way here is to select with a rectangle with precision by hand (zoom in). Once a plank is selected, right clic on it with a select tool active and Layer via cut.

Do it for each plank (you can move your selection instead of doing a new one since you seems to have multiple same size here.

Once you have each plank on a layer go to file > export > Layer to file. Here you can select the destination folder, and JPEG with the desired quality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.