{"action":"created","issue":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/385","repository_url":"https://api.github.com/repos/ImageMagick/ImageMagick","labels_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/385/comments","events_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/385/events","html_url":"https://github.com/ImageMagick/ImageMagick/issues/385","id":208849598,"number":385,"title":"Statistics output of grayscale image changed since 7.0.4-7","user":{"login":"brechtm","id":652887,"avatar_url":"https://avatars.githubusercontent.com/u/652887?v=3","gravatar_id":"","url":"https://api.github.com/users/brechtm","html_url":"https://github.com/brechtm","followers_url":"https://api.github.com/users/brechtm/followers","following_url":"https://api.github.com/users/brechtm/following{/other_user}","gists_url":"https://api.github.com/users/brechtm/gists{/gist_id}","starred_url":"https://api.github.com/users/brechtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brechtm/subscriptions","organizations_url":"https://api.github.com/users/brechtm/orgs","repos_url":"https://api.github.com/users/brechtm/repos","events_url":"https://api.github.com/users/brechtm/events{/privacy}","received_events_url":"https://api.github.com/users/brechtm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-20T11:11:27Z","updated_at":"2017-02-20T13:28:47Z","closed_at":null,"body":"I used to use this command to check whether an image is grayscale or not:\r\n\r\n`convert image.jpg -colorspace HSL -channel g -separate +channel -format %[fx:mean] info:`\r\n\r\nFor a grayscale JPEG, 7.0.4-7 outputs `0`. For the same image, 7.0.4-9 and 7.0.4-10 output `001`.\r\n\r\nI don't claim to understand what the above command does exactly, but it seems to output three numbers now instead of a single one. This is apparent from the output for a colour image:\r\n\r\n- 7.0.4-7: `0.014278`\r\n- 7.0.4-9: `0.006220050.0142780.989673`\r\n\r\nIs this new behaviour expected?\r\n\r\nPossibly related: [Problems with Image Statistics (fx:maxima etc.)](https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31377)"},"comment":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/comments/281079249","html_url":"https://github.com/ImageMagick/ImageMagick/issues/385#issuecomment-281079249","issue_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/385","id":281079249,"user":{"login":"mikayla-grace","id":10504993,"avatar_url":"https://avatars.githubusercontent.com/u/10504993?v=3","gravatar_id":"","url":"https://api.github.com/users/mikayla-grace","html_url":"https://github.com/mikayla-grace","followers_url":"https://api.github.com/users/mikayla-grace/followers","following_url":"https://api.github.com/users/mikayla-grace/following{/other_user}","gists_url":"https://api.github.com/users/mikayla-grace/gists{/gist_id}","starred_url":"https://api.github.com/users/mikayla-grace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikayla-grace/subscriptions","organizations_url":"https://api.github.com/users/mikayla-grace/orgs","repos_url":"https://api.github.com/users/mikayla-grace/repos","events_url":"https://api.github.com/users/mikayla-grace/events{/privacy}","received_events_url":"https://api.github.com/users/mikayla-grace/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T13:28:47Z","updated_at":"2017-02-20T13:28:47Z","body":"Thanks for the problem report.  We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today.  The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow. "}}
{"actor":{"display_login":"mikayla-grace"}}