Jump to content
JohnWest

Consistent 1 pixel boarder not possible for HD format

Recommended Posts

I belong to a camera club that prefers a 1 pixel boarder when a boarder is used in HD size pictures. To do this I go to "select all" then Select "grow/shrink" which I select -2 px  (one on each side and top and bottom) then "Select Invert Pixel Selection" Then "Edit Fill" and finally "Select Deselect" But most of the attempts result in missing boarder on one or or more of the edges.

The photo software I used to use but which shall remain nameless did not exhibit this problem.

I am using Windows 10 Version 1903 and Affinity Photo Beta 1.7.2.445

I have tried to attach an example but when the upload has finished an error is reported, I tried to upload a Jpeg version and Afphoto version but both report upload failed.

Share this post


Link to post
Share on other sites
Posted (edited)

You can simply use Layer effects > Outline > Inside, and save your images.

For example, adding a 12px black border:

2019-08-12_211627.png.51eee185db740aea21947a24a4466b1d.png

2019-08-12_211820.png.cb7f66f848bc103573b3c7053cb7c584.png

Edited by Wosven
Screenshots added

Share this post


Link to post
Share on other sites

Thanks for trying to provide the samples. If you have an account at Dropbox or a similar site you should be able to upload them there, and provide a sharing link.

If not, perhaps you could give us a bit more information. It might be useful to at least know your image pixel dimensions, for example. "HD" is not a photograph size with one standard definition, as far as I know.

By the way, in my experience with Affinity Photo, Grow/Shrink selection is symmetric, so if you wanted a 1px border on all sides you would shrink by -1px, not -2px. A shrink by -2px would give 2px on all sides.


-- Walt

Windows 10 Home, version 1903 (18362.239), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.2.471 and 1.7.2.464 Beta   / Affinity Designer 1.7.2.471 and 1.7.2.4464 Beta  / Affinity Publisher 1.7.2.471 and 1.7.2.458 Beta

Share this post


Link to post
Share on other sites
7 hours ago, walt.farrell said:

Thanks for trying to provide the samples. If you have an account at Dropbox or a similar site you should be able to upload them there, and provide a sharing link.

Off topic: You can use the free wetransfer.com to send up to 2 GB. It will stay available for 7 days


Affinity Designer 1.7.1.404 & beta 1.7.2.464  Affinity Photo 1.7.1.404 beta  1.7.2.464 Affinity Publisher 1.7.0.422 beta  1.7.2.458

Windows 10 Pro 64-bit 1709

CPU Intel Core i7 4770 @ 3.40GHz Haswell 22nm Technology

RAM 32.0 GB Dual-Channel DDR3 @ 798 MHz (11-11-11-28)

Motherboard Gigabyte Technology Co. Ltd. B85M-D3H (SOCKET 0)

Graphics Intel HD Graphics 4600 (Gigabyte)

yoda.png

Share this post


Link to post
Share on other sites

Whenever I add a 1px border to any image I only see it on 2 sides of the image (even when viewed at 100%)

Likewise, if I add a 3px border to an image I will only see 3px on 2 sides of the image and 2px on the other sides

Affinity seems to lose 1px every time when adding a border (no matter how it is applied)

But this is only a visual/display problem, it does actually add the border correctly.

Even if you add a 1px border to an image and export it to, say, a JPG file then reopen the JPG file back in Affinity it still looks like it is missing the border on 2 sides.  But if you open the same JPG file in another program you will see that the border is actually correct.

And if I add a 1px border to an image in Photoshop and open that image in Affinity it still fails to display the 1px border on 2 sides of the image, so it looks like Affinity is just cutting off 1px from the right and bottom sides of any image I open.

This problem has been there since the very beginning and I am so used to it now I just ignore it, knowing that my exports will actually be correct

I first reported it in November 2016, so hopefully, it has been working its way up the bug queue and will be fixed soon


Original report:

https://forum.affinity.serif.com/index.php?/topic/27925-outline-effect-display-issue/ 

 


Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be concerned about.

Share this post


Link to post
Share on other sites

Thanks to all the responses. Now I have seen that the boarder is in fact there even though I can't see it while editing. 

The HD size I mentioned, used by camera clubs for projecting to a screen is 1920 px wide by 1080 px high. One dimension can be cropped provided the other is the exact dimension.

This post has been helpful in bringing my attention to the easier way of producing the border using layer effects.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×