Jump to content

Recommended Posts

Posted (edited)

Hi,

I need to create a perfect pixel sized image. I make a perfect sized selection from my source, then: Edit->Copy Merged, then I create a new file with File->New From Clipboard.

However, my new image is always different in size by a pixel or two in the width or length.

What am I doing wrong?

Thanks!

 

For reference for example: 

1. My selection

image.png.9cb29d7dce2350fe0834668bb7afb5b8.png

2. My new image (one extra pixel in the width):

image.png.ae93649fbb35a99b2260aec27fd180cb.png

Edited by Orico
Posted

Welcome to the forums @Orico

Have a look in Settings / User Interface and make sure the “Decimal Places for Unit Types” for Pixels is set to more than zero (I have it set to 3).

Then look at your selection position and dimensions in the Transform Panel to see if there are digits after the decimal point.

If there are then you need to fix that first.

Posted (edited)
2 hours ago, GarryP said:

Welcome to the forums @Orico

Have a look in Settings / User Interface and make sure the “Decimal Places for Unit Types” for Pixels is set to more than zero (I have it set to 3).

Then look at your selection position and dimensions in the Transform Panel to see if there are digits after the decimal point.

If there are then you need to fix that first.

Thanks Garry,

In the Settings / User Interface  the value was 1. I changed it to 3 to test. And this is what happened:

My selection:

image.png.e416450578098df42508415315247766.png

And after repeating the steps in my original post:

image.png.f99947c52f4ae91a05645245708983d1.png

Now it increased the width by 3 pixels....

 

What just happend? maybe it needs to be zero?

image.png

Edited by Orico
Posted
5 hours ago, Orico said:

I need to create a perfect pixel sized image. I make a perfect sized selection from my source, then: Edit->Copy Merged, then I create a new file with File->New From Clipboard.

However, my new image is always different in size by a pixel or two in the width or length.

What am I doing wrong?

Which of the three applications are you using; Designer, Photo, or Publisher? How are you making your selection?

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted
Just now, Old Bruce said:

Which of the three applications are you using; Designer, Photo, or Publisher? How are you making your selection?

1. Affinity Photo 2

2. I use the Rectangular Marquee Square tool and then adjust the exact size that I need, using the Transform panel. 

Posted
4 minutes ago, Orico said:

adjust the exact size that I need, using the Transform panel.

Sadly that leads to disaster. I suggest making a white rectangle shape of the final size, no stroke, set blend mode to darken
Position over the image and do Select/ Selection from layer and delete
That should produce marching ants properly sized

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

Posted
11 minutes ago, Orico said:

2. I use the Rectangular Marquee Square tool and then adjust the exact size that I need, using the Transform panel. 

Before you adjust the size, make a new (empty) pixel layer so the marquee's size adjustment is happening in a vacuum, so to speak. If you are on a layer with stuff in it then you will see this sort of problem. 

I would suggest you use the Rectangle shape tool to make your selection, set its fill opacity to 50% or 20% or whatever. Then once you are satisfied with the selection use the Select > Selection from Layer and Delete. Just make sure the Force Pixel alignment is on in the snapping.

ScreenShot2024-11-13at9_10_24AM.png.03ce733c79d161dc1d247e17ced94650.png

 

Screen Shot 2024-11-13 at 9.10.24 AM.png

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted
2 hours ago, Old Bruce said:

Before you adjust the size, make a new (empty) pixel layer so the marquee's size adjustment is happening in a vacuum, so to speak. If you are on a layer with stuff in it then you will see this sort of problem. 

I would suggest you use the Rectangle shape tool to make your selection, set its fill opacity to 50% or 20% or whatever. Then once you are satisfied with the selection use the Select > Selection from Layer and Delete. Just make sure the Force Pixel alignment is on in the snapping.

ScreenShot2024-11-13at9_10_24AM.png.03ce733c79d161dc1d247e17ced94650.png

 

Screen Shot 2024-11-13 at 9.10.24 AM.png

Thank you very much, I'll try it

Posted
3 hours ago, David in Яuislip said:

Sadly that leads to disaster. I suggest making a white rectangle shape of the final size, no stroke, set blend mode to darken
Position over the image and do Select/ Selection from layer and delete
That should produce marching ants properly sized

Thanks! I will try it.

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.