Timespider Posted August 18, 2020 Share Posted August 18, 2020 Hi Affinity community, I've had a look in the forums but nothing is showing(maybe it's how I'm terming it). Anyway, I have a canvas with a size of 798px *798px. I also have an image 798px * 798px positioned 0px & 0px. I also have a square/rectangle the same size 798px * 798px with 1px orange stroke on the inside positioned at 0px & 0px with no fill. However the square/rectangle does not fit on the canvas. It disappears 1px & 1px to the right and bottom(in this case). Is this an issue with me & my sizes or is it a bug. In the attached image in image 1 at top you can see the selected rectangle is at 0px 0px & is 798px and that the canvas is also 798px. In the bottom part of image (image 2) you can see the stroke disappears to the right & bottom. This is happening in both AD & AP. I have tried changing where the stroke sits on inside, center, outside many times. This has happened quite a few times in the past & tonight I thought I have to try & solve it before it does my head in(that may be too late). I've noticed this happening with images as well, that they sometimes they don't fill the canvas properly. Any help appreciated. Quote Motto - STUPID HURTS! Link to comment Share on other sites More sharing options...
GarryP Posted August 18, 2020 Share Posted August 18, 2020 I think the first thing you need to do is check that the X, Y, Width and Height values for all of your layers are on pixel boundaries (have integer values) rather than them just looking like they are. You can check this by going to Preferences / User Interface and changing the Decimal Places for Pixels to a high value, e.g. 6. Then look at the Transform Panel again to see what values are displayed. If there is anything after the decimal point then you need to enter an integer value in the field to make it a real integer. If that doesn’t work then we will need to look further into the problem. Quote Link to comment Share on other sites More sharing options...
David in Яuislip Posted August 18, 2020 Share Posted August 18, 2020 I think you've found some weirdness WeirdStroke.afphoto is a simple square 798px. If you zoom in on a corner to 4800%, with the stroke at 1px it loses opacity, with the stroke at 2px the opacity is 100% but the width stays at 1px. Exporting both cases as pngs shows the same issue Sorry couldn't help but an expert will hopefully be along in a minute WeirdStroke.afphoto Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10 Link to comment Share on other sites More sharing options...
GarryP Posted August 18, 2020 Share Posted August 18, 2020 David: The problem you see is probably because the Stroke is Centred across the curve and, as such, when you have a 1px-thick stroke you have 0.5 pixels on each side of it. The software is trying to make something from 0.5 pixels and that’s what it comes up with. Try changing the alignment of the Stroke to Inside rather than Centred. This could be part of Timespider’s problem but I wanted to make sure the pixel alignment was correct before getting onto this. Quote Link to comment Share on other sites More sharing options...
David in Яuislip Posted August 18, 2020 Share Posted August 18, 2020 8 minutes ago, GarryP said: Try changing the alignment of the Stroke to Inside rather than Centred. Thanks for the comment but I don't know how to do that in Photo, the choices are stroke behind or in front Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10 Link to comment Share on other sites More sharing options...
Timespider Posted August 18, 2020 Author Share Posted August 18, 2020 Hi David the align stroke to inside, center, outside is just above that order box. Thanks GaryP & yes I have 1px stroke and aligned to inside. David in Яuislip 1 Quote Motto - STUPID HURTS! Link to comment Share on other sites More sharing options...
David in Яuislip Posted August 18, 2020 Share Posted August 18, 2020 Brain dead of Яuislip sends thanks Alfred 1 Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10 Link to comment Share on other sites More sharing options...
Timespider Posted November 24, 2020 Author Share Posted November 24, 2020 Hi again guys, this is really annoying me. Images attached. I just created a new square with 1pt(1.3px) border stroke inside. I used the transform panel width width 250px & height 250px & x,y positions 0,0. I did it the same in both Photo & Designer. The one in Photo has the issue where it seems to be a pt out and doesn't show the left & bottom border even when align center or left or all the rest. But in Designer it's fine using the same technique. Can someone help? Quote Motto - STUPID HURTS! Link to comment Share on other sites More sharing options...
Recommended Posts
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.