curtis_fox's profile

3 Messages

 • 

90 Points

Thu, Sep 10, 2015 3:43 PM

Closed

Image asset generation size is a pixel off

Hi there,

I have an shape layer icon with the dimensions: 10x19px.

I've set the containing group name to this:

icon-facebook.png, 200% icon-facebook@2x.png

When the image assets get generated I would expect the icon-facebook@2x.png to be double size: 20x38px, however the generated file is 19x38px.

Any idea why?

Thanks

3 Messages

 • 

90 Points

6 y ago

Just had the same problem with a 20x20px shape. The final x2 file comes out as 39x39px.

15.1K Messages

 • 

195.8K Points

6 y ago

Which version of Photoshop are you using?
Have you installed all the updates?

3 Messages

 • 

90 Points

6 y ago

Hi Chris,

Sorry for the delay in getting back to you.

I'm using the latest Photoshop version 20150722.r.168 x64

Here's an example PSD where the outputted png is a pixel off:

https://www.dropbox.com/s/yeg5t0bkq48...