Skip to main content
Mohamed Hameed21513110
Inspiring
December 8, 2022
Answered

Divide the layer into layers based on the content of the group's layers and save to jpg

  • December 8, 2022
  • 1 reply
  • 1317 views

I have a background layer
And I want to divide the background layer into layers based on a group that contains layers of certain shapes or sizes
And save each layer as a jpg

I attached some pictures showing the idea and what is required
I also attached an open file with the groups to illustrate the idea more clearly

 

 

This topic has been closed for replies.

1 reply

jazz-yCorrect answer
Legend
December 8, 2022
Mohamed Hameed21513110
Inspiring
December 8, 2022

@jazz-y 

Well, the code has been tested and works successfully. Thank you

 

Mohamed Hameed21513110
Inspiring
December 8, 2022

@jazz-y 

I wanted a code that performs an iterative process for the layers of the group so that it crops the layer from the background and then saves it. During the saving process, I will save the file with the dimensions of the layer using another code I have

I don't know if what I said made sense to you or not