Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Image Size is not correctly identified #39

Closed
timmjd opened this Issue Jun 26, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

timmjd commented Jun 26, 2012

The size of images exported from Photoshop 6.0 with "save as" will be identified with an incorrect size.
Save for Web and Devices works.

Correct size: 760x538
Jasy identifies: 160x113

https://www.dropbox.com/s/x8d2d2y5gr2gfyq/broken.jpg

Contributor

swernerx commented Jun 26, 2012

Fixed with that commit: 9a69840

Contributor

swernerx commented Jun 26, 2012

Test Code (the fixed image was re-saved via Mac OS X Preview App):

from jasy.asset.ImageInfo import ImgInfo

print(ImgInfo("/Users/swerner/Downloads/broken.jpg").getSize())
print(ImgInfo("/Users/swerner/Downloads/broken_fixed.jpg").getSize()

Result:
(760, 538)
(760, 538)

@swernerx swernerx closed this Jul 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment