Jump to content
You must now use your email address to sign in [click for more info] ×

Moving and resizing by whole pixels


Recommended Posts

Hello

Hope somebody can help with something that is driving me crazy in Photo.... 

Probably just a setting I need to check but not sure of the right combination

 

I want to work in my images by whole pixels, NEVER decimals.

I copy and past an image and it shows (for example) in the Transform panel X position 104.5. and Y position 123.3 !!!

Ok.. so I check the "Force pixel alignment" and it looks like I fix the issue

but as soon as I resize the image and reposition it a  little bit using the handles I get decimals again!!! what gives?

 

I want to move and resize my images by whole pixels .. always, to avoid blurry images

 

Any idea of the settings I need to check so I can always work this way...?

 

------------------------

Fernando Velarde

www.velarde.com

Instagram.com/soyfervelarde

Link to comment
Share on other sites

This is something that has always annoyed me! Counterintuitively, ‘Move By Whole Pixels’ takes precedence over ‘Force Pixel Alignment’, so the solution is to enable ‘Force Pixel Alignment’ but disable ‘Move By Whole Pixels’.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Hello Alfred 

I do have Force pixel alignment on and move my whole pixels off

It looks like it is working but as soon as I resize an image using the handles and adjust the image position slightly I still get decimals , 

Maybe a bug? 

I'm attaching an image of my settings. 

 

settings.png

------------------------

Fernando Velarde

www.velarde.com

Instagram.com/soyfervelarde

Link to comment
Share on other sites

19 minutes ago, velarde said:

I'm attaching an image of my settings. 

Thank you. I can’t see anything obvious that would account for objects failing to remain aligned to pixel boundaries.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

When you resize a layer or document with locked aspect ratio, getting fractional values is unavoidable unless you are using size / positions compatible with given aspect ratio.

A screen recording of you workflow would help to nail down the issue. What exactly are you resizing?

  • layers by move tool
  • canvas by crop tool
  • document by resize?

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Turn off anything that has midpoints in its name/description.

Actually just have the force pixels alignment on with snap to bounding boxes. That should do for a start.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | 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

thanks for the suggestions all ...

I'm investigating but What I'm doing is very simple. 

I'm making some images/banners for web that have a fixed size. (pixels)

 

1) I copy and paste different pictures into my file ( which has the final size I want)

2) I move and scale the images as needed... using the image's bounding box controls. very quick workflow

 

But at the end when I finish positioning my images I have to double check there are no decimals in the final images positions.

It's hit or miss. Some images end with decimals, others don't . (Most do)

If I jiggle the images around quickly and I can remove the decimal point in the position. But If I resize the images and position them again I have to double check that decimals don't get reintroduced in the new position.   Not sure if the problem is that the width and height values have also decimals... That's why I was wondering if I can resize them by full pixels.

I want to use the handles that are there for the resizing and not need to type numbers to move and resize objects... 

Strange I don't remember having to worry about this before with this workflow... 

but since its web work (not print)  the little decimals  can make the images slightly blurry since they are not pixel aligned...

 

Note: The snap to spread midpoint setting is pretty useful.. not sure if I want to turn this off... 

banners.jpg

------------------------

Fernando Velarde

www.velarde.com

Instagram.com/soyfervelarde

Link to comment
Share on other sites

7 minutes ago, velarde said:

Note: The snap to spread midpoint setting is pretty useful.. not sure if I want to turn this off... 

Choose to not turn it off even if it is the source of the problem?

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | 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:

Choose to not turn it off even if it is the source of the problem?

 

Ja.. VERY GOOD point.

I turned it off and it looks like this fixes my particular problem...  

 

P.D. Thanks for the quick reply by the way 😃

------------------------

Fernando Velarde

www.velarde.com

Instagram.com/soyfervelarde

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