Jump to content
johanna

Automatic fill colour when enlarging canvas?

Recommended Posts

In Photoshop, before I enlarge the canvas I can choose what colour to fill the extra pixels with. How can I do this in Affinity photo?

This far, I've first enlarged the canvas and then manually filled the extra pixels using either the the Flood Fill or Paint Brush tool, but there ought to be a better method. Brush painting is tedious, and in Photoshop, using the Paint Bucket tool sometimes has unintended effects on nearby elements, and I don't want to risk that happening in Affinity Photo.

Share this post


Link to post
Share on other sites

Hi @johanna

You can go Edit > Matte

With Custom Colour selected (default) click the swatch and choose any colour you like, or

Primary is the bottom right 'colour well' colour.

Secondary is the top left 'colour well' colour.

matte.jpg.8323f93c103f8611d84f9f9722f90f69.jpg


Windows PCs. Photo and Designer, latest non-beta versions.

Share this post


Link to post
Share on other sites

Thanks, but it doesn't seem to be what I'm looking for.

Let's say I have a white 200 px x 200 px image.

When I choose pink as the matte custom colour and increase the canvas to 250 px x 250 px, I would expect there to be a 25 px thick pink border around the otherwise white canvas, but that doesn't happen.

When I choose pink as the fill custom colour, the whole canvas is filled with pink right away. I don't want that either. However, if I increase the canvas size further the extra pixels are also filled with pink, which is good.

Share this post


Link to post
Share on other sites

Hi johanna,

Nothing has been placed/inserted onto the empty canvas, you could simply use a square quick shape, specify the size and add a stroke border specifying the width. A method similar to that of PS has been requested and my be added in the future. 

Share this post


Link to post
Share on other sites

Hi johanna,
Here's another alternative:  go to menu Layer ▸ New Fill Layer, place it on the bottom of the layer's stack. Increase the canvas size as you see fit. The Fill layer will always fill it. To change it's colour select it in the Layers panel and click the colour you want in the Colour panel or use the colour picker to pick a colour from the image itself.

Share this post


Link to post
Share on other sites
3 hours ago, johanna said:

Thanks, but it doesn't seem to be what I'm looking for.

Let's say I have a white 200 px x 200 px image.

When I choose pink as the matte custom colour and increase the canvas to 250 px x 250 px, I would expect there to be a 25 px thick pink border around the otherwise white canvas, but that doesn't happen.

You didn't say what is wrong?

1/ You do have to apply the matte after resizing.

2/ If you have cropped the image, remember that Photo keeps the cropped part outside the visible canvas, so that will reappear when you resize the canvas. Right click on the layer and choose Rasterize to get rid of it.

 

Right, start with 200 x 200 pixel image

200200.jpg.83f3e29757916e331fa146cc5fa38050.jpg

Go Document > Resize Canvas (note the position of the blue anchor point square) and set the Size to 250 x 250 pixels

resize.jpg.e7547147c3c15cd3c1a317a56e1833e1.jpg

clicking Resize equals a file 250 x 250 pixels with a 25 pixel white border on all four edges

250250.jpg.ee1ce71339914f7d5c342272c6bc9333.jpg

Go Edit > Matte and click the  Custom Colour swatch to choose pink, (as shown). 

setpink.jpg.5bb3868774c9b64c349f67a9efdea475.jpg

pink.jpg.9b908ed037d1d92d123c856a1fb6f3a8.jpg

one 200 x 200 image with a 25 pixel border all around = 250 pixels x 250 pixels.

:)

 


Windows PCs. Photo and Designer, latest non-beta versions.

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. 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.