Edit Again: Removed a hands-on method.
Just remembered that my usual guides-grid.scm has an option for guides placed on a layer. Probably posted on some other thread but here again, unzip put in your scripts folder. No percentage, only by number of divisions or pixels. example: https://i.imgur.com/9SB0h4F.jpg
The hands-on method really works, I don't remember ever having used or even known about the Layer - Transparency - Alpha to selection option.
Only that in step 02 (Retangle select - Click on canvas) I found this selection a little inaccurate, or at least more laborious.
But using step 04 together with step 02:
Retangle select - Image - guides - new guides from selection, and voilà.
I downloaded the guides-tools and guides-grid, installed them but I haven't had time to test them yet.
I also downloaded the ofn-guides-from-layer, which I ended up finding while searching for a solution, but I will also have to read the manual first and then test it.
That's what I'm going to do now, test these resources and then finish my editing paused until now.
03-01-2020, 10:10 AM (This post was last modified: 03-01-2020, 10:11 AM by rich2005.
Edit Reason: typo
)
I have been looking around at the available scripts and plugins for one that places guides on a layer as a percentage of the layer size.
Nothing that I can find, some requests for similar, nothing usable. Maybe someone has a suggestion?
In the meantime, Ofnuts plugin ofn-guides-from-layer.py which places edge guides is the closest.
This a quick hack based on that plugin, no guarantee that it is 100%
... and a plea to Ofnuts, a new / updated plugin maybe with options (horizontal / vertical / both ) included. Might occupy your coffee break or perhaps not even that long
(03-01-2020, 10:10 AM)rich2005 Wrote: ... and a plea to Ofnuts, a new / updated plugin maybe with options (horizontal / vertical / both ) included. Might occupy your coffee break or perhaps not even that long
(03-01-2020, 10:10 AM)rich2005 Wrote: I have been looking around at the available scripts and plugins for one that places guides on a layer as a percentage of the layer size.
Nothing that I can find, some requests for similar, nothing usable. Maybe someone has a suggestion?
In the meantime, Ofnuts plugin ofn-guides-from-layer.py which places edge guides is the closest.
This a quick hack based on that plugin, no guarantee that it is 100%
... and a plea to Ofnuts, a new / updated plugin maybe with options (horizontal / vertical / both ) included. Might occupy your coffee break or perhaps not even that long
Rich2005,
With guides_tools I was not lucky, the List Guides script generates an error (GIMP Error
Execution error for 'List Guides':
Error: (: 1) atom-> string: needs 1 argument (s)) and don't list anything.
With gat_tooll-210, I noticed some instability. Some functions ok, others generating an error. I liked the feature of being able to save and load guides, but there is no information in the folder where these guides are saved. I tried to read the script and find where that folder would be, I tried to use windows search to find a file I saved, but without success.
The guide-grids were useful and met my needs.
But percentage-guides-on-layer is undoubtedly the most effective! Fast, uncomplicated and completely meets what I was needing.
Quote: List Guides script generates an error (GIMP Error Execution error for 'List Guides':
Error: (: 1) atom-> string: needs 1 argument (s)) and don't list anything.
Gat tools ...I liked the feature of being able to save and load guides, but there is no information in the folder where these guides are saved.
Both the GAT tools plugin and list-guides script are old, made for Gimp 2.8
The list-guides is working here: Image -> Guides -> List Guides tried both linux and Win 10 so no comment on errors.
GAT tools puts a gat_tools.cfg file in the C:\Users\'yourname' folder. Hope it is still working. A text file, after Set1 start making your own names Set2...etc
All in one screenshot, Win10 (VM) Gimp 2.10.18 https://i.imgur.com/cAvlx4r.jpg
-----------
I use guides a lot, often use the grid-of-guides script. One thing I recommend setting up, is a hot-key for removing all guides, to save having to delve into the image menu.
Ah ... now the whereabouts of this gat_tools.cfg have been found!
I didn't know the name of the file that Set1 was saved to. I used the name GuidesSalvasLogo01, instead of Set01, and I thought this was going to be the file name.
(02-28-2020, 05:15 PM)Krikor Wrote: I know the feature that creates new guides at 50% of the image (horizontal and vertical) - Image - Guide - New guide (by percent).
How can I do this in layers?
I thank you in advance for your help.
I see lots of solutions that probably get you what you need, but I posted this a while back for just adding crosshairs per layer. I still use it nearly every day and thought you might find this useful in addition to the more powerful solutions.
(03-02-2020, 09:25 PM)akovia Wrote: I see lots of solutions that probably get you what you need, but I posted this a while back for just adding crosshairs per layer. I still use it nearly every day and thought you might find this useful in addition to the more powerful solutions.
Sorry for the "a little" late thanks.
Somehow I didn't have the attention to thank you after reading your post above.
Your tip was excellent, I don't think there's a single day that I don't use this script.
Thanks for the suggestion, for the attached script and for the video!