This is a javascript for photshop so you can have a safety margin in your projects
The script allows you to have safety margins without having to constantly place or search for the right size.
Note
For the script to work you need to have developer mode
activated within photoshop
Files > script > Put the javascript file
The script will activate the reference guides and then place them there depending on the size of the image, if it is a feed it will be a certain size and if it is a story the other will be another certain size.
Part of the script
if (width == 1080 && height == 1080) {
// FEED
doc.guides.add(Direction.VERTICAL, 70.0);
doc.guides.add(Direction.VERTICAL, 204.281);
doc.guides.add(Direction.VERTICAL, 338.563);
doc.guides.add(Direction.VERTICAL, 472.844);
doc.guides.add(Direction.VERTICAL, 607.156);
doc.guides.add(Direction.VERTICAL, 741.438);
doc.guides.add(Direction.VERTICAL, 875.719);
doc.guides.add(Direction.VERTICAL, 1010.0);
doc.guides.add(Direction.HORIZONTAL, 0.0);
doc.guides.add(Direction.HORIZONTAL, 154.281);
doc.guides.add(Direction.HORIZONTAL, 308.563);
doc.guides.add(Direction.HORIZONTAL, 462.844);
doc.guides.add(Direction.HORIZONTAL, 617.156);
doc.guides.add(Direction.HORIZONTAL, 771.438);
doc.guides.add(Direction.HORIZONTAL, 925.719);
doc.guides.add(Direction.HORIZONTAL, 1080.0);
alert("Enabled Tabs.");
}
You can use this on photopea too
Photopea | Links |
---|---|
Photopea Javascript | https://github.com/suchsoak/Photoshop-Javascript/blob/main/photopea.js |
Photopea | https://www.photopea.com |
GNU General Public License v3.0