{"action":"created","issue":{"url":"https://api.github.com/repos/pimcore/pimcore/issues/915","repository_url":"https://api.github.com/repos/pimcore/pimcore","labels_url":"https://api.github.com/repos/pimcore/pimcore/issues/915/labels{/name}","comments_url":"https://api.github.com/repos/pimcore/pimcore/issues/915/comments","events_url":"https://api.github.com/repos/pimcore/pimcore/issues/915/events","html_url":"https://github.com/pimcore/pimcore/issues/915","id":181201657,"number":915,"title":"Downloading PSD file to JPEG save a broken file","user":{"login":"Yivan","id":9025839,"avatar_url":"https://avatars.githubusercontent.com/u/9025839?v=3","gravatar_id":"","url":"https://api.github.com/users/Yivan","html_url":"https://github.com/Yivan","followers_url":"https://api.github.com/users/Yivan/followers","following_url":"https://api.github.com/users/Yivan/following{/other_user}","gists_url":"https://api.github.com/users/Yivan/gists{/gist_id}","starred_url":"https://api.github.com/users/Yivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yivan/subscriptions","organizations_url":"https://api.github.com/users/Yivan/orgs","repos_url":"https://api.github.com/users/Yivan/repos","events_url":"https://api.github.com/users/Yivan/events{/privacy}","received_events_url":"https://api.github.com/users/Yivan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T16:20:58Z","updated_at":"2016-10-05T16:38:00Z","closed_at":"2016-10-05T16:24:22Z","body":"On the demo site, upload the following PSD:\r\n\r\n[senzo-rgb-300dpi-no-icc-3508x2480-psd-without-layers.zip](https://github.com/pimcore/pimcore/files/511700/senzo-rgb-300dpi-no-icc-3508x2480-psd-without-layers.zip)\r\n\r\nAfter open it on Pimcore, and on the \"view\" tab, download (keeping same size, to jpeg, not chaning default quality/DPI). The resulting JPEG is corrupted. If it is open on photoshop we get a message:\r\n\r\n![screenshot-opening-corrupted-pimcore-export-from-psd-file](https://cloud.githubusercontent.com/assets/9025839/19121674/9bb10efa-8b27-11e6-9846-f98f4ad4924f.png)\r\n\r\n(wich translate to: \"This document may be damaged (the file may be truncated or incomplete). Continue ?\")\r\nIf you open it (on mac or on PC - better viewed with Irfanview as the windows viewer fill it with plain color), if you zoom in the bottom-right there is graphical corruption. It can be better seen on PC by doing a resize by width of 1000px before clicking \"download\" on Pimcore.\r\n\r\nSo it seems the PSD to JPEG bring a broken file in output.\r\n\r\nIf needed, here is the corrupted file (so resulting from download in Pimcore):\r\n[senzo-rgb-300dpi-no-icc-3508x2480-psd-without-layers-corrupted.zip](https://github.com/pimcore/pimcore/files/511719/senzo-rgb-300dpi-no-icc-3508x2480-psd-without-layers-corrupted.zip)\r\n\r\nProblem occurs on PC and MAC, Chrome/Friefox/Safari (we didn't test others).\r\n\r\nIf you need more information, don't hesitate.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/pimcore/pimcore/issues/comments/251728795","html_url":"https://github.com/pimcore/pimcore/issues/915#issuecomment-251728795","issue_url":"https://api.github.com/repos/pimcore/pimcore/issues/915","id":251728795,"user":{"login":"Yivan","id":9025839,"avatar_url":"https://avatars.githubusercontent.com/u/9025839?v=3","gravatar_id":"","url":"https://api.github.com/users/Yivan","html_url":"https://github.com/Yivan","followers_url":"https://api.github.com/users/Yivan/followers","following_url":"https://api.github.com/users/Yivan/following{/other_user}","gists_url":"https://api.github.com/users/Yivan/gists{/gist_id}","starred_url":"https://api.github.com/users/Yivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yivan/subscriptions","organizations_url":"https://api.github.com/users/Yivan/orgs","repos_url":"https://api.github.com/users/Yivan/repos","events_url":"https://api.github.com/users/Yivan/events{/privacy}","received_events_url":"https://api.github.com/users/Yivan/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T16:38:00Z","updated_at":"2016-10-05T16:38:00Z","body":"Yes problem is maybe linked, but between this issue and #914, this is not totally the same thing.\r\nThis one is about PSD -> JPEG, and #914 is just JPEG -> JPEG.\r\n\r\nSame bouton than #914.\r\n\r\nYou can make all you test with:\r\n- JPEG\r\n- Resize by width\r\n- 1000 pixels (or leave original size when PSD -> JPEG as it brokes too)\r\n- Quality: 95\r\n- DPI: 300\r\n"}}
{"actor":{"display_login":"Yivan"}}