{"action":"created","issue":{"url":"https://api.github.com/repos/hacksparrow/node-easyimage/issues/32","labels_url":"https://api.github.com/repos/hacksparrow/node-easyimage/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/hacksparrow/node-easyimage/issues/32/comments","events_url":"https://api.github.com/repos/hacksparrow/node-easyimage/issues/32/events","html_url":"https://github.com/hacksparrow/node-easyimage/issues/32","id":40360834,"number":32,"title":"Strange filenames returned on Amazon EC2 - 'PixelsPerCentimeter'","user":{"login":"chrisfinch","id":1170410,"avatar_url":"https://avatars.githubusercontent.com/u/1170410?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisfinch","html_url":"https://github.com/chrisfinch","followers_url":"https://api.github.com/users/chrisfinch/followers","following_url":"https://api.github.com/users/chrisfinch/following{/other_user}","gists_url":"https://api.github.com/users/chrisfinch/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfinch/subscriptions","organizations_url":"https://api.github.com/users/chrisfinch/orgs","repos_url":"https://api.github.com/users/chrisfinch/repos","events_url":"https://api.github.com/users/chrisfinch/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-08-15T16:09:57Z","updated_at":"2015-05-03T17:38:20Z","closed_at":null,"body":"Hi,\r\nI am resizing a bunch of images on an EC2 instance and the names being returned are very strange and are preventing me from referencing the resized images. This all works fine on my local version.\r\n\r\nExample resize call:\r\n\r\n```\r\neasyimg.resize({\r\n  src: path,\r\n  dst:__dirname + '/../public/uploads/460x276-2x' + '.png',\r\n  width: 920,\r\n  height: 552\r\n})\r\n```\r\n\r\nExample returned data in promise:\r\n\r\n```\r\n{ type: 'PNG',\r\n  depth: 8,\r\n  width: 496,\r\n  height: 552,\r\n  size: 312674,\r\n  density: 118.11,\r\n  name: 'PixelsPerCentimeter 460x276-2x.png' }\r\n```\r\n\r\nAs you can see the string `PixelsPerCentimeter ` is being prepended to the name attribute (the files appear to be named correctly in the filesystem...)\r\n\r\nThe EC2 instance is running on Ubuntu and I have ImageMagick installed as follows: `Version: ImageMagick 6.7.8-9 2014-05-12 Q16`\r\n\r\nI'm pretty confused at this point having googled a lot for a solution.\r\n\r\nThanks in advance for any help."},"comment":{"url":"https://api.github.com/repos/hacksparrow/node-easyimage/issues/comments/98513842","html_url":"https://github.com/hacksparrow/node-easyimage/issues/32#issuecomment-98513842","issue_url":"https://api.github.com/repos/hacksparrow/node-easyimage/issues/32","id":98513842,"user":{"login":"hacksparrow","id":950112,"avatar_url":"https://avatars.githubusercontent.com/u/950112?v=3","gravatar_id":"","url":"https://api.github.com/users/hacksparrow","html_url":"https://github.com/hacksparrow","followers_url":"https://api.github.com/users/hacksparrow/followers","following_url":"https://api.github.com/users/hacksparrow/following{/other_user}","gists_url":"https://api.github.com/users/hacksparrow/gists{/gist_id}","starred_url":"https://api.github.com/users/hacksparrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hacksparrow/subscriptions","organizations_url":"https://api.github.com/users/hacksparrow/orgs","repos_url":"https://api.github.com/users/hacksparrow/repos","events_url":"https://api.github.com/users/hacksparrow/events{/privacy}","received_events_url":"https://api.github.com/users/hacksparrow/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T17:38:20Z","updated_at":"2015-05-03T17:38:20Z","body":"Thanks for noticing it and working on it. I am working with `ImageMagick 6.8.9-5`, so all looked good."}}