Mobile app version of vmapp.org
Login or Join
Voss6371140

: How can I control the size of my generated asset when it contains transparent areas? I'm trying to use Photoshop's Generate Image Assets feature to export a 32 x 32 transparent image with a

@Voss6371140

Posted in: #AdobePhotoshop #GenerateImageAssets

I'm trying to use Photoshop's Generate Image Assets feature to export a 32 x 32 transparent image with a solid 16 x 16 square in the middle:



My layers look like this:



I'm using a fully transparent (no fill or stroke) rectangle that fills the area I want to be exported. This doesn't work, as the Generate Image Assets feature does not appear to consider it when determining the size of the asset; I get a 16 x 16 image containing the opaque square instead of the full 32 x 32 image.

I have read about vector masks or layer masks possibly being a solution to this, but I don't really understand them that well, and my attempts to use them to solve my problem were not successful.

So, how can I control the size of my generated asset when it contains transparent areas?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Voss6371140

1 Comments

Sorted by latest first Latest Oldest Best

 

@Voss6371140

I ended up just setting the fill colour of the bounds to a colour that would blend into the background and set the layer opacity for it to 1%. Not very nice, and so I'm not going to accept it as the answer in the hopes that someone comes along with a proper way to do it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme