Mobile app version of vmapp.org
Login or Join
Si6392903

: Photoshop Generate Image Assets outputs wrong size image I have a 1440x280 resolution image. It looks like this: The layers are grouped and I rename the group like this: 1024 x 200 test-image70%

@Si6392903

Posted in: #AdobePhotoshop

I have a 1440x280 resolution image. It looks like this:



The layers are grouped and I rename the group like this:



1024 x 200 test-image70%


This should output a 1024x200 px JPG at 70% quality. Instead it spits out this 1028x532 jpg:



Huh? What in the world is going on here? This isn't remotely close to what I am expecting. What am I doing wrong here? Is using groups really buggy with Generate Image Assets?

This is Photoshop CC 2015.5.1

(Note: Ignore all the black borders in the screenshots, that is just the Photoshop canvas background color).

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Si6392903

3 Comments

Sorted by latest first Latest Oldest Best

 

@Carla748

If you add a mask (either a vector mask or a bitmap mask) to your 1024 x 200 text-image.jpg70% group, the mask will dictate the bounding box when exporting the image using Generator.

Please note that using a layer or group mask works for PNG and JPEG exports, but it seems like there’s a bug when exporting SVGs using Generator with masks — the mask bounds are not used. I realise that doesn’t apply in this specific case, but it’s worth noting for other readers.

10% popularity Vote Up Vote Down


 

@Nimeshi706

I solved the same problem with Image > Trim (Photoshop CC 2017)

10% popularity Vote Up Vote Down


 

@Bryan765

Set your document size at 1024x200 px.
Then you should apply layer mask or vector mask at your layer group, also in 1024x200 pixel.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme