Jump to content

How do I convert a selection into a vector shape?


Recommended Posts

2 hours ago, GFS said:

 

Actually ... it is entirely vector based.  There are absolutely no pixels involved apart from screen-drawing/representation.

 

 

I can't see any video, there is a link to LP-Mask-Stencil.mp4 but that link does not work for me.

 

Link to comment
Share on other sites

Unfortunately I stopped using Affinity. I still download the updates and check to see but, no. Every time a new update is posted or a video I'm always heartbroken. It's normally some text upgrade or thumbnail thing. I would think that editing the image would have the highest precedent. Channel operations also seemed lacking if I remember.   

Link to comment
Share on other sites

22 minutes ago, Dangerous said:

I can't see any video, there is a link to ... but that link does not work for me.

That's pretty weird..  What OS are you on?  For me it just goes on loop in the forum software. (Quite annoying actually).

Try this: Mask-Stencil

Grumpy, but faithful (watch out all you cats)

Link to comment
Share on other sites

14 minutes ago, GFS said:

 

Seems Windows 10 has issues with mp4.  ( https://videoconvert.minitool.com/video-converter/windows-10-cant-play-mp4.html )

I've uploaded a .mov vs, which is 10x larger... but maybe it'll work.

Mask-Stencil-mov

Otherwise maybe you could try a different browser.

That worked but I never have problems with mp4. I create & play them no problem.

 

Link to comment
Share on other sites

1 minute ago, Dangerous said:

That worked but I never have problems with mp4. I create & play them no problem.

 

Perhaps your browser has some setting preventing this, perhaps your internet is set up to not play mp4s in webpages.

MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 11.7

Affinity Designer 1.10.5 | Affinity Photo 1.10.5 | Affinity Publisher 1.10.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

11 minutes ago, Old Bruce said:

Perhaps your browser has some setting preventing this, perhaps your internet is set up to not play mp4s in webpages.

My browser happily plays .mp4 files, but won't play those videos in the earlier posts.

On the other hand, I think that MP4 is a container format, that can have different codecs used, and possibly they use a codec I don't have.

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
Share on other sites

2 minutes ago, walt.farrell said:

My browser happily plays .mp4 files, but won't play those videos in the earlier posts.

Same for me.

Affinity Photo 1.10.5, Affinity Designer 1.10.5, Affinity Publisher 1.10.5;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.5.280 & Affinity Designer 1.10.5 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

19 minutes ago, Old Bruce said:

Perhaps your browser has some setting preventing this, perhaps your internet is set up to not play mp4s in webpages.

I upload mp4 to you tube & play them from there. As I say never had an issue with mp4 before and I believe I have all the codecs I need installed.

Link to comment
Share on other sites

12 minutes ago, walt.farrell said:

My browser happily plays .mp4 files, but won't play those videos in the earlier posts.

 

9 minutes ago, R C-R said:

Same for me.

They play OK for me in Safari on iPad.

 

12 minutes ago, walt.farrell said:

On the other hand, I think that MP4 is a container format, that can have different codecs used, and possibly they use a codec I don't have.

MP4 is indeed a container format, so the codecs required will depend on the characteristics of the video stream.

Alfred spacer.png
Affinity Designer/Photo/Publisher for Windows 1.10 • Windows 10 Home/Pro
Affinity Photo for iPad 1.10 • Designer for iPad 1.10 • iPadOS 15.6.1 (iPad Air 2)

Link to comment
Share on other sites

On 4/20/2022 at 6:53 AM, GFS said:

I'm showing what I could do in an app, almost 30 years ago.

Yes, as you can see, paint already has a mask, made as you paint, which can instantly be toggled between a stencil and a mask and also drag-copied to any other layer, as a stencil and a mask.  It's instant. It's easy. It's automatic.  It's a good method.

The point of this thread, is that this cannot be done in AF apps.

Sure it can.

5 hours ago, GFS said:


Actually ... it is entirely vector based.  There are absolutely no pixels involved apart from screen-drawing/representation.
 

Are you sure about that? Seems to me that the vector circle is being converted to a raster mask.
(we can use the vector shape itself as a mask... or convert to raster. The inverting of the vector mask is a bit of a hassle (really needs to be automated), but can be done. And the flipping of the raster is easy.)
And clearly the brush stroke in the vid is raster.

The point of this thread is different...... the ability turn a marching ants selection into a vector path (a la PShop)
Maybe that old app could indeed do that, but that's not whats shown. We can do what's shown 🙂.

Link to comment
Share on other sites

26 minutes ago, JimmyJack said:

The point of this thread is different...... the ability turn a marching ants selection into a vector path (a la PShop)

My memory of using the selection to a vector path in PhotoShop is that the resulting vector path was a (very) crude approximation of the actual pixel selection.

MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 11.7

Affinity Designer 1.10.5 | Affinity Photo 1.10.5 | Affinity Publisher 1.10.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

31 minutes ago, JimmyJack said:

 

The point of this thread is different...... the ability turn a marching ants selection into a vector path (a la PShop).

Yes that is the point. Surely the marching ants are a form of vector curve and if so it should not take much to implement this feature. It can be converted to a mask after all. Where I have a more complicated shape to trace my workround is to brush select & refine it till I'm happy with the selection, output it to a selection, copy & paste to new layer which keeps the marching ants, shrink the selection by 5 px and hit delete to remove the centre leaving an outline, zoom in and trace with pen tool 5 px stroke. When complete delete the outline layer and edit the traced curve layer as req'd. So much easier & quicker for me but with this feature all that would not be necessary.

What would be nice is for serif to reply even if it was to say 'sod off, we are not going to give you this feature'. They have only replied 2 in 8 years, how hard would it be to reply a third time?

Link to comment
Share on other sites

5 minutes ago, Dangerous said:

Surely the marching ants are a form of vector curve

No the marching ants are a Pixel selection.

And don't call me Shirley.

MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 11.7

Affinity Designer 1.10.5 | Affinity Photo 1.10.5 | Affinity Publisher 1.10.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

Just now, Dangerous said:

Surely the marching ants are a form of vector curve and if so it should not take much to implement this feature.

As implemented, they just define a pixel-based area in the document. They are not vector shapes, nor do they belong to any specific layer of the document.

Affinity Photo 1.10.5, Affinity Designer 1.10.5, Affinity Publisher 1.10.5;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.5.280 & Affinity Designer 1.10.5 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

1 minute ago, Old Bruce said:

No the marching ants are a Pixel selection.

And don't call me Shirley.

Are they actually a pixel selection or a form of curve selecting a pixel area?

And what's wrong with being called Shirley? Big Daddy was and he was no pushover!

Link to comment
Share on other sites

50 minutes ago, JimmyJack said:

Are you sure about that?

Indeed I am.

As I mentioned... it is all vectors except for screen-draw.

The clip doesn't show working from a selection, but it's exactly the same.  I could just make a selection and it would automatically be: mask / stencil / vectorial.

Quote

We can do what's shown

Can AFP make paint into a vectorial mask/stencil, by dragging the mask icon?

Grumpy, but faithful (watch out all you cats)

Link to comment
Share on other sites

5 minutes ago, R C-R said:

As implemented, they just define a pixel-based area in the document. They are not vector shapes, nor do they belong to any specific layer of the document.

I know they are not assigned to a layer but they can define any pixel based area and can at times be moved so they much be plotted in memory, they can't 'just be'. We can't access how AP stores them but AP can so the size, shape, position or whatever must exist somewhere and be accessible to to the program.

Link to comment
Share on other sites

Just now, Dangerous said:

Are they actually a pixel selection or a form of curve selecting a pixel area?

They are just pixel-based selections of some area of the document. They are not vector curve objects.

Affinity Photo 1.10.5, Affinity Designer 1.10.5, Affinity Publisher 1.10.5;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.5.280 & Affinity Designer 1.10.5 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

3 minutes ago, R C-R said:

They are just pixel-based selections of some area of the document. They are not vector curve objects.

The marching ants remain even after save, close & reopen or when you change layers etc. so they must be recorded somewhere and if so then the serif programmers know where. We as users don't know what goes on within the code so are you one of the serif programmes? 

They select a pixel based area but that does not mean that they are pixel based.

Link to comment
Share on other sites

25 minutes ago, GFS said:

Indeed I am.

As I mentioned... it is all vectors except for screen-draw.

Wish the clip would show that. Once the circle goes to mask there is no vector showing. No control points.
Seems like a pixel mask to me. But that's beside to point AP and AD can go to pixel or stay vector.

25 minutes ago, GFS said:

Can AFP make paint into a vectorial mask/stencil,....

This is more the point.
Maybe I don't understand the sentence.
Are you saying that once the brush (raster) squiggle becomes a mask it is transformed into a vector?
Wish we could see that too. There is nothing there to indicate that.
If you could show that, that would be great!

25 minutes ago, GFS said:

..... by dragging the mask icon?

But to answer the second part (vector issue notwithstanding) yes a painted layer can be made into a mask by dragging. To be a a mask OR stencil it needs to be rasterized to mask.

Link to comment
Share on other sites

6 minutes ago, Dangerous said:

They select a pixel based area but that does not mean that they are pixel based.

Does mean that exactly.

If you are using Photo you can make a spare channel that is based on the Pixel selection. Which is what a Marching Ants selection is.

MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 11.7

Affinity Designer 1.10.5 | Affinity Photo 1.10.5 | Affinity Publisher 1.10.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.