Jump to content
SMrak

Resize canvas will blur the image - bug!

Recommended Posts

It looks that 'resize canvas' option have a bug - which will blur the image.

I have attached three images here, first two are zoomed to 200% to better see the bug, and third image (original/smaller at the bottom) is here if you want to try it for yourself.

How to reproduce the bug:
1. Open/load image to AP (the smaller one at the bottom of this post which is 433x178px)
2. set "resize canvas" to 450x185px with anchor set to "center", "left" or "right"
3. see the results (the image will be blurred)

I'm using the latest AP version 1.7.3

original-zoomed.png

canvas menu.png

canvas-zoomed.png

original image.png

Edited by SMrak

Share this post


Link to post
Share on other sites

Has more to do with arithmetic than Metal hardware acceleration. You are moving the picture up/down by a half pixel instead of a whole pixel because of the number of pixels' increase. 17 hi by 7 wide.


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

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.7.3 | Affinity Designer Beta 1.7.x.x | Affinity Photo Beta 1.7.x.x | Affinity Publisher Beta 1.8.0.499

Share this post


Link to post
Share on other sites

Ok, i understand your logic ... but why i'm getting different results with Hardware Acceleration enabled / disabled ?

Share this post


Link to post
Share on other sites

Hi @SMrak,

Sorry for the delayed reply. I don't see any difference between metal on/off. Regardless of that, when you anchor to centre, it will be placed on half-pixel values as @Old Bruce mentioned. This is not a bug. Moved to questions

 

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

×

Important Information

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.