I am using PS for the UI design of a white-labeled iOS app at my company. I've created several image assets that need to be a specific dimension to work with the developers' code. I'm hoping to create a PSD that other designers in the company can use to generate our assets quickly. My problem is, no matter what I try, PS will crop the asset layer to contain only the asset and not the transparent space around it.
For example, I need an image that is 640x1136 pixels. My assets is 640x1120 but has white space on the top and bottom. The developers will not adjust the code to accommodate, so I save the file out at exactly 640x1136. Using Generate Assets, I can't get the file to include the empty space. I've tried adding transparent smart layers, empty shapes, and nothing seems to work.
Can anyone provide an answer? My alternative is to save each file manually (over 50) and write documentation for the designers to replicate.
I would also like this feature adding, if it does not already exist, to CC updates.
Its would be handy if when generating assets the canvas size could be specified, by layer mask for example.
I create alot of bar/line graphs and would like to generate each value as a seperate graphic but all assets with the same dimensions. Hence when animating in HTML5 I can use the same X/Y spec.