Jump to content

Recommended Posts

Hi guys,

How do I copy a pixel selection? In Fireworks you simply draw a shape with the marquee tool, hit Ctrl+C, Ctrl+V, and the pixel selection is copied. How can I do this in Affinity? The help file doesn't seem to explain this.

Thanks :)

Share this post


Link to post
Share on other sites

There are two types of layers for bitmap elements in the Affinity apps. An Image layer is treated as a single object, and it doesn't lose quality if you resize or rotate it, but you can't work on it at the pixel level; to do the latter, you need to right-click it in the Layers panel and choose 'Rasterize...' so that it becomes a Pixel layer, and you will then be able to do things like copying pixel selections. The designation 'Image' or 'Pixel' is shown in parentheses in the Layers panel.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.1.404 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.1.143 • Designer for iPad 1.7.1.1 • iOS 12.4 (iPad Air 2)

Share this post


Link to post
Share on other sites

 

Bonsoir.

Dans une image, dessinez la sélection avec (lasso, rectangle etc ...)

Cliquez sur l'outil Déplacer (Ctrl + C ... Ctr + V ... 

Cordialement.

Share this post


Link to post
Share on other sites

I consider this not quite a bug but deficiency in AP. You should be able to copy marquee area from *image* layer without rasterizing (or rather, rasterizing a copy in the background as needed). I wish this will be added in the future.

Share this post


Link to post
Share on other sites
1 hour ago, Fixx said:

I consider this not quite a bug but deficiency in AP. You should be able to copy marquee area from *image* layer without rasterizing (or rather, rasterizing a copy in the background as needed). I wish this will be added in the future.

How could this work if the very useful "Replace Image" feature for Image layers is to be retained? There is no guarantee that a replaced image would have the same pixel dimensions, so how could that be resolved?


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

Not sure what one thing have do do with the other (selecting from an image layer and replacing an image layer) or the image dimensions of the replaced image? If the layer wasn't rasterised (or rasterised in background for copying to clipboard as Fixx suggested) you still retain the Image layer/the original image data.

Share this post


Link to post
Share on other sites

What I mean is unless the image layer is rasterized, it retains its original pixel resolution regardless of its dimensions displayed on the canvas. So what exactly is the marquee selecting & copying, the actual pixels at their original resolution or at their displayed resolution? Plus, if the image is replaced with another one while the marquee selection is still there or reselected, what happens if say one then does a paste?

 

Basically, it just seems to me that it would cause even more confusion about what an image layer contains than it already does now.


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

It would copy the exact same thing as if the layer was rasterised, that is, what the user is actually seeing inside the selection.

Why would someone be interested in keeping a selection for an image that is supposed to be replaced by another? In any case it should paste whatever was copied to the clipboard and is still in memory (in this case the old image). Only if you performed a new copy/paste the new data from the replaced image should be pasted. That's how the clipboard works.

 

Share this post


Link to post
Share on other sites

Basically it would work like macro: duplicate layer, rasterize duplicated layer, copy selection, delete duplicated layer. Thus you have rasterized selection copy in clipboard, original *image* layer untouched. I just think it is unnecessary to do duplicate/rasterize procedure when copy selection is obvious intent and AP should allow that.

Share this post


Link to post
Share on other sites
8 hours ago, Fixx said:

I consider this not quite a bug but deficiency in AP. You should be able to copy marquee area from *image* layer without rasterizing (or rather, rasterizing a copy in the background as needed). I wish this will be added in the future.

On the image layer, make your selection then..

Edit > Copy Flattened
Edit > Paste

 


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
1 hour ago, carl123 said:

On the image layer, make your selection then..

Edit > Copy Flattened
Edit > Paste

 

I can't seem to find Copy Flattened anywhere. Is this available in AD? I only see copy.

Share this post


Link to post
Share on other sites

The two apps are (and will remain) separate, but in either app you can open the current file in the other app. Because all Affinity apps share the same file format, you will also be able to open your existing *.afdesign files directly in APh.

 


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.1.404 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.1.143 • Designer for iPad 1.7.1.1 • iOS 12.4 (iPad Air 2)

Share this post


Link to post
Share on other sites
3 hours ago, carl123 said:
11 hours ago, Fixx said:

I consider this not quite a bug but deficiency in AP. You should be able to copy marquee area from *image* layer without rasterizing (or rather, rasterizing a copy in the background as needed). I wish this will be added in the future.

On the image layer, make your selection then..

Edit > Copy Flattened
Edit > Paste

At least on my Mac, the (I assume) equivalent Edit > Copy Merged copies from all visible layers, not just a selected layer, so I think it is not necessarily the same thing as what @Fixx wants.


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites
23 minutes ago, chris.bannu said:

Out of curiosity, all the awesome people that answer all my questions, are they support people, or awesome community members? :) 

For Community members "Members" is displayed below their avatar on the left of each post; for the Affinity staff this will display their job title (like "Moderator") & below that a small black banner with the word "Staff" in it.


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites
51 minutes ago, R C-R said:

For Community members "Members" is displayed below their avatar on the left of each post; for the Affinity staff this will display their job title (like "Moderator") & below that a small black banner with the word "Staff" in it.

 

Wow, then this is a really great community. I'll have to do my part when I become a pro :) Or, if I can find questions that I can easily answer of course.

Share this post


Link to post
Share on other sites
7 hours ago, R C-R said:

At least on my Mac, the (I assume) equivalent Edit > Copy Merged copies from all visible layers, not just a selected layer, so I think it is not necessarily the same thing as what @Fixx wants.

I do not have a Mac so do not have the Edit > Copy Merged command but have you tried it with an active selection on an image layer?

It appears to work as @Fixx wants, on my Windows PC using the equavalent Edit > Copy Flattened option


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

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

×