It is currently Mon Jul 01, 2024 10:37 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Convert a selection into an array of coordinates/points
PostPosted: Fri May 15, 2020 2:48 pm  (#1) 
Offline
New Member

Joined: May 15, 2020
Posts: 1
Hello,
I'd like to know if there's an option to convert a selection (like a selection done using the Fuzzy select tool) into an array of coordinates that comprise that selection.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Convert a selection into an array of coordinates/points
PostPosted: Fri May 15, 2020 2:57 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
ocp1000 wrote:
Hello,
I'd like to know if there's an option to convert a selection (like a selection done using the Fuzzy select tool) into an array of coordinates that comprise that selection.

You can use the Select>To Path option,
within the Selection Menu.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Convert a selection into an array of coordinates/points
PostPosted: Fri May 15, 2020 3:49 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
ocp1000 wrote:
Hello,
I'd like to know if there's an option to convert a selection (like a selection done using the Fuzzy select tool) into an array of coordinates that comprise that selection.


If you convert the selection into a path, the path is expressed as a set of cubic Bézier splines (aka "strokes"). There is an API call to interpolate these "strokes" with a polygon of specified accuracy.

_________________
Image


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Need to generate an array of vertical lines (rulings) across a page.

5

No new posts Attachment(s) | Solved ] Move points on gradients

2

No new posts Attachment(s) Points of Interest Work Flow

1

No new posts Attachment(s) convert a gbr bristles to abr

2

No new posts Attachment(s) TypeError: could not convert to GimpRGB (Solved)

5



* Login  



Powered by phpBB3 © phpBB Group