fix image size conversion

Signed-off-by: naruse.tsutomu <naruse.tsutomu@modulay.com>
Merge branch 'origin' of https://github.com/XpressiveTeam/PixelShadow into origin