Copy link to clipboard
Copied
Hello everyone,
Maybe you can help me?
I am looking for a way to get pattern fills back into individual data.
My idea would be a script that outputs the size of the individual tile of the pattern fill and adjusts the document size on this basis. now you would only have to rasterize and have the individual tile of the pattern fill? What is the best way to implement this? are there any other solutions? Many thanks in advance for your help 🙂
Copy link to clipboard
Copied
I need these values from the current pattern fill to bring the workspace to this size and then to rasterise and save the pattern fill in the smallest repetition.
Copy link to clipboard
Copied
Why can't you use the .pat files? Apart from doing it manually, I have no idea.
Copy link to clipboard
Copied
But then I only have the patterns as pattern filling again. But I need the single file for editing and the single repetition for the print shop. And a script would help me save time.
Copy link to clipboard
Copied
Sorry, I don't know how to automate this.
Copy link to clipboard
Copied
Thanks anyway, I hope someone can still help me to read out the size of the pattern tile via extendscript, the rest I would build myself, if it is even possible to get these values via script? 🙏🏻
Copy link to clipboard
Copied
Search the internet, the following isn't a Photoshop script:
https://github.com/jardicc/pat-parser
Perhaps ChatGPT can write you a Python script that actually works...
Copy link to clipboard
Copied
Thank you very much for your research! Unfortunately I can't get a working script that gives me the size or even extracts a png from the pattern fill. I have also tried ChatGPT, but never get access to the size of the pattern 😞 Thanks again for the patparser approach 👍
Copy link to clipboard
Copied
I don't mean to trivialise your request, however, at least you can semi-automate this approach somewhat using actions.
There are a known fixed amount of different tile sizes for the Adobe patterns, so you can set actions to create a new doc at a preset size, then fill it with a pattern, use the properties panel to edit the pattern adjustment layer and reset the "snap to origin" if needed and save a file.
Not as good as full automation, but better than doing it all manually for every step.
Copy link to clipboard
Copied
Hello Stephen_A_March,
Thank you first of all,
However, I don't work with the Adobe patterns but partly with pattern fills from our customers and the sizes are always different. Of course, I can simply check the size of the pattern with a mouseover and then crop it manually. It would just be a nicer workflow for me if I could do this with a script. There is probably no access to these values via script.
Maybe someone will have an idea at some point, otherwise I'll just continue working without a script.
Thanks again!!!