Skip to main content
Inspiring
March 7, 2024
Question

What exactly does the size of a layer mean?

  • March 7, 2024
  • 3 replies
  • 1216 views

Why do we say resizing a content on a layer by using the Free Transform tool is called resizing the layer?

 

For example, if I draw a rectangle on an empty layer and resize it within the canvas size, does that change the size of the layer itself?

 

Is resizing a layer's components the same as resizing the layer? Doesn't the layer itself have a size?

 

The contents of a layer may exist outside the canvas size, in which case the size of the layer is larger than the canvas, isn't it?

 

What exactly does the size of a layer mean?

This topic has been closed for replies.

3 replies

Conrad_C
Community Expert
Community Expert
March 7, 2024

I understand the pixel dimensions of a layer to be the smallest rectangle that encloses the most extreme non-transparent pixels of a layer. In non-math terms, it’s the size of the rectangle you see when you make the transform bounding box visible, by choosing Edit > Free Transform or enabling Show Transform Controls in the options bar when the Move tool is selected. If there are non-transparent pixels outside the canvas, the transform bounding box does enclose those.

 

The pixel dimensions of each layer have a direct effect on the document file size. Uniform areas of a pixel layer are very easy to compress. So if you have two documents of the same pixel dimensions and number of layers, where the layers in the first document don’t fill the canvas (they have smaller pixel dimensions than the document), and the same number of layers in the second document are fully painted from edge to edge, the second document will have a much larger file size.

Inspiring
March 7, 2024

I can understand what you're saying.  As a beginner, I'm wondering that if the layer is a transparent glass plate, then the glass plate itself has a size(although it's only visible on the screen within the canvas size), and the size of the content displayed on the glass plate is a separate thing.

Stephen Marsh
Community Expert
Community Expert
March 7, 2024

A glass plate has a physical size, a blank artLayer doesn't... A blank artLayer is like the universe, it's infinite (well, it's almost infinite, there is a maximum canvas size of 300,000 x 300,000 px for PSB or 30,000 for many other formats)! So the artLayer has no size however it is bounded by the canvas. I have not tried to move layer content outside of the canvas limit though!

Stephen Marsh
Community Expert
Community Expert
March 7, 2024

There are different layer kinds. For a "standard" new empty artLayer - there is no size until there is content, it's just blank to the canvas size... And yes, a layer can have content that is beyond the visible canvas.

Inspiring
March 7, 2024

"there is no size until there is content, it's just blank to the canvas size."

Does this mean that a layer with no content has no size, and that the size of a layer with content is the size of the content? For example, if I draw a shape smaller than the size of the canvas on an empty layer, does it mean that the size of the layer is the size of the shape?

Stephen Marsh
Community Expert
Community Expert
March 7, 2024
Semaphoric
Community Expert
Community Expert
March 7, 2024

I've always understood it to be the box that contains the non-transparent pixels, like what you see when the Layers Panel Options is set to Layer Bounds for the thumbnail.