Jump to content

Recommended Posts

Posted

Hi,

So I have figured out how to make the stroke show on the outside but... That makes the stroke disappear. I assume it's because the layer size ends at the image's edges and the stroke can't go outside the layer boundaries. I can't find any way to change the layer size to stretch outside the image and am using a crop tool on the image. I can't trim it since it needs to be flexible until the project is finalized. As you can see in the screenshot, the "Scale with object" option in the Stroke menu does nothing...
Oh, and I also want to avoid using the Layer Effects function for simplicity's sake.
Can anyone help?

UZTQr2g01G.png

Posted

You are right, it behaves a little weird. You can have a stroke if you convert image to have picture frame, but altering crop after that becomes complicated (actually I could not find a way to alter). So you can crop first and frame and stroke after, but altering/cropping after does not seem to be possible.

Crop tool does not work on picture frame but the whole element and thus crops stroke away too. Maybe someone has figured this out? Seems quite basic to me... ;)

Posted

You cannot add a stroke to a "(Pixel)" layer so the UI really should disable the Stroke panel options if one is selected. However, you can add a stroke to an "(Image)" layer -- in this respect it just like a vector object.

As of the 1.10.0 version of APub, you can convert a "(Pixel)" layer to an "(Image)" layer via the Layer > Convert to Image Resource menu item, so if you do not mind doing that, you can add the stroke & it will remain adjustable unless or until you rasterize the layer.

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
16 minutes ago, R C-R said:

You cannot add a stroke to a "(Pixel)" layer so the UI really should disable the Stroke panel options if one is selected. However, you can add a stroke to an "(Image)" layer -- in this respect it just like a vector object.

As of the 1.10.0 version of APub, you can convert a "(Pixel)" layer to an "(Image)" layer via the Layer > Convert to Image Resource menu item, so if you do not mind doing that, you can add the stroke & it will remain adjustable unless or until you rasterize the layer.

That's an interesting information. But it is not the point in this case. I recreated what DesignCat described above, and in fact, if you have an image as an image layer and give it a stroke as frame, set to be added outside the image, and you crop the image layer then with the crop tool, the stroke disappears and can't be restored after that. This only happens if you have added the stroke outside the image and if you did this before you cropped the image. Don't really understand why. A bug?

Posted
6 minutes ago, iconoclast said:

That's an interesting information. But it is not the point in this case. I recreated what DesignCat described above, and in fact, if you have an image as an image layer and give it a stroke as frame, set to be added outside the image, and you crop the image layer then with the crop tool, the stroke disappears and can't be restored after that. This only happens if you have added the stroke outside the image and if you did this before you cropped the image. Don't really understand why. A bug?

I am not seeing the same thing, but what I am seeing is some of the stroke outside the crop area disappears & some of it does not. That can't be right so there must be a bug of some kind involved.

But even so, unclipping the canvas restores the stroke, which remains editable.

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

That's interesting too. In my case the whole frame disappears at once. But if I drag the cropping frame (crop tool) back to outside the image, the stroke reappears. At the end, you can't crop the image with the outside stroke. But you can crop it before you add the stroke. So it is no reason to panic, also it might be a bug.

Posted

Hi @DesignCat :)

I have been testing this here, following your report and the further information provided by other users and I can confirm (tested on Windows):

When using an (Image) layer without a picture frame:

  • Stroke aligned to centre; when cropping the image, the stoke will be 'clipped' to the boundaries of the crop. This is a bug IMO, as although the stroke does follow the object, the 'outside' of the stroke is clipped where it shouldn't be. I believe this is due to the way a 'vector crop' is applied in Affinity Publisher - the shape applied to the Image layer will also clip the stroke, but I don't think that it should. I'm unsure if we'll be able to change this behaviour due to the way the crop tool works.
    d7d8465b3ddc5f1c0ff8764a146875e4.gif
     
  • Stroke aligned to inside; This is displayed correctly when cropped or uncropped.
    ebb55d595d6a538daca3100af0ae0a70.gif
     
  • Stroke aligned to outside; The stroke is removed as soon as you begin cropping, this is a bug again IMO, caused by the above mentioned cropping method in Affinity.
    abe403aad142c742803f28cd3215c775.gif

When using an (Image) layer inside a picture frame, with the Stroke applied to the (Image):

  • Stroke aligned to centre; the stroke will only be drawn inside the Picture frame, meaning initially only the 'inside' of this stroke can be seen, but by 'zooming out' the image within the Picture frame, you can see the whole stroke.
    bee3c1954ca31a2039de8bdeeb01f877.gif

    Stroke aligned to centre (cont); This is where things get slightly more complicated, depending on if you're cropping the (Image) layer nested in the Picture Frame, or the Picture Frame itself. Cropping the Picture Frame will not take the stroke into account, as this is simply a container object.
    d26a24d6a6cd291ddfd24974e107b58e.gif

    However, cropping the nested (Image) layer will take the stroke into account. This however suffers from the same issue when not using a Picture Frame, due to how Vector cropping works in Affinity.
    c4b8927e6b14c1b5bf5e4954168be83d.gif
     
  • Stroke aligned to inside; This is displayed correctly when cropped or uncropped. Please note the same as above applies in regards to cropping the Picture Frame vs the (Image) layer.
    Cropping Picture Frame -
    93efb79370443d531380571eee7fd208.gif

    Cropping (Image) layer -
    7908f2294f1671edc7b2685a5a20f38c.gif
     
  • Stroke aligned to outside; This is similar to aligned to centre, you will need to adjust the size of the image for the stroke to show.
    0a887678b4247d29d040d2251e385650.gif

    Once visible, the same rules apply from above regarding cropping the Picture Frame vs the (Image) layer - as well as the same issue seen when cropping the (Image) layer alone with a stroke aligned outside.
    Cropping Picture Frame -
    81b4d067f3f1bb104c06988a7dba8bcf.gif

    Cropping (Image) layer - 
    96c7740ed3ca191d1f58232631ec00aa.gif

    When using an (Image) layer inside a picture frame, with the Stroke applied to the Picture Frame:
  • Stroke aligned to centre; the stroke will be drawn correct pre-crop, again the behaviour differs depending on which layer you crop. Cropping the Picture Frame will crop the stroke to the bounds of the crop and no longer shows the 'outside' half of the stroke. I consider this a bug, similar to the previous results with the stoke aligned to centre. Cropping the (Image) will be independent of the Picture frame, and therefore the stroke remains unaffected.
    Cropping Picture Frame -
    dbcc4aa0c8756b3760f2d6168e4eddbb.gif

    Cropping (Image) layer - 
    ecf0cf96fb9226f15182c6b6569c5b65.gif
     
  • Stroke aligned to inside; This is displayed correctly when uncropped. When cropping the Picture frame, the stoke is also cropped, the same as when the stroke is applied to the (Image) layer. This is expected due to the Picture Frame being a 'container' which is then cropped using a vector shape to hide all content beyond the crop. Please note the same as above applies in regards to cropping the Picture Frame vs the (Image) layer.
    Cropping Picture Frame -
    b3dd69b113c2d9daaa18e98ea84dd04e.gif

    Cropping (Image) layer -
    084e0c7c7e0659b5aa1bf356afdd3036.gif
     
  • Stroke aligned to outside; This will be displayed correctly pre-crop. When cropping the Picture Frame, the stoke will immediately be hidden behind the crop. I also consider this a bug as previous, but is caused by the method of vector cropping in Affinity, so I'm not sure if this can be changed currently.
    Cropping Picture Frame - 
    6e4691291a5569856c365af74b9e8fbc.gif

    When cropping the (Image) layer, the same behaviour as above with inside/centre aligned strokes is observed.
    Cropping (Image) Layer-
    e3f2e4b5a340609e5865efd11370562d.gif

I will be sure to report my findings here to our developers, as there are certainly a few issues that could be improved upon - as other users have mentioned it's not possible to add a stroke around a (Pixel) object so we recommend Placing these (or converting these) as (Image) layers.

I hope this clears things up & my apologies for such a long post!

Posted

Hi, I came here looking for solutions and I do see that Layer > Convert to Picture Frame works for me to restore a lost outside stroke as long as I don't then crop it again.

Let me just say that this should all be a bit more intuitive. Pixel vs Image object is a distinction that I'm going to have to get my head around. I am laying out a newsletter where I am dragging images in from a file browser and applying a style to them, and sometimes cropping where necessary. I just want it to work. :-)

Cheers, hope the developers can help us out a bit. :-)

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...
×
×
  • Create New...

Important Information

Terms of Use | 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.