{"action":"created","issue":{"url":"https://api.github.com/repos/dlemstra/Magick.NET/issues/236","repository_url":"https://api.github.com/repos/dlemstra/Magick.NET","labels_url":"https://api.github.com/repos/dlemstra/Magick.NET/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/dlemstra/Magick.NET/issues/236/comments","events_url":"https://api.github.com/repos/dlemstra/Magick.NET/issues/236/events","html_url":"https://github.com/dlemstra/Magick.NET/issues/236","id":329295011,"node_id":"MDU6SXNzdWUzMjkyOTUwMTE=","number":236,"title":"iTXt: chunk data is too large after removing XMP data using Adobe XMP Toolkit","user":{"login":"ashkandaie","id":1415513,"node_id":"MDQ6VXNlcjE0MTU1MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1415513?v=4","gravatar_id":"","url":"https://api.github.com/users/ashkandaie","html_url":"https://github.com/ashkandaie","followers_url":"https://api.github.com/users/ashkandaie/followers","following_url":"https://api.github.com/users/ashkandaie/following{/other_user}","gists_url":"https://api.github.com/users/ashkandaie/gists{/gist_id}","starred_url":"https://api.github.com/users/ashkandaie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashkandaie/subscriptions","organizations_url":"https://api.github.com/users/ashkandaie/orgs","repos_url":"https://api.github.com/users/ashkandaie/repos","events_url":"https://api.github.com/users/ashkandaie/events{/privacy}","received_events_url":"https://api.github.com/users/ashkandaie/received_events","type":"User","site_admin":false},"labels":[{"id":262696761,"node_id":"MDU6TGFiZWwyNjI2OTY3NjE=","url":"https://api.github.com/repos/dlemstra/Magick.NET/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-05T04:07:28Z","updated_at":"2018-06-18T20:50:06Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have a PNG with a lot of of XMP metadata (8MB+). After removing some of the metadata using [Adobe XMP Toolkit](https://www.adobe.com/devnet/xmp.html) I get the following exception:\r\n\r\n**Unhandled Exception: ImageMagick.MagickCoderErrorException: iTXt: chunk data is too large `E:\\images\\blank_after.png' @ error/png.c/MagickPNGErrorHandler/1711**\r\n\r\n\r\nHere is a [link](https://drive.google.com/open?id=1DBHStmY_ZsxXzHQiWrU8lzxGekg9Yy-i) to the file that is used prior to removing XMP metadata:\r\n\r\nAnd a [link](https://drive.google.com/open?id=1kvCPxNa6OHovfRSnEdCvHbwvOUIO-jAz) to the file after the removing the XMP metadata.\r\n\r\nI am able to open the file using Adobe Photoshop and other image editors.\r\n\r\nAdobe XMP Toolkit does not reduce the file size after removing metadata, I wanted to open / save using Magick.NET to reduce the file size.\r\n\r\nLooks like a dup of #105.\r\n\r\nI am using Magick.NET-Q16-HDRI-AnyCPU 7.4.6.0\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dlemstra/Magick.NET/issues/comments/398191065","html_url":"https://github.com/dlemstra/Magick.NET/issues/236#issuecomment-398191065","issue_url":"https://api.github.com/repos/dlemstra/Magick.NET/issues/236","id":398191065,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODE5MTA2NQ==","user":{"login":"dlemstra","id":10426229,"node_id":"MDQ6VXNlcjEwNDI2MjI5","avatar_url":"https://avatars3.githubusercontent.com/u/10426229?v=4","gravatar_id":"","url":"https://api.github.com/users/dlemstra","html_url":"https://github.com/dlemstra","followers_url":"https://api.github.com/users/dlemstra/followers","following_url":"https://api.github.com/users/dlemstra/following{/other_user}","gists_url":"https://api.github.com/users/dlemstra/gists{/gist_id}","starred_url":"https://api.github.com/users/dlemstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlemstra/subscriptions","organizations_url":"https://api.github.com/users/dlemstra/orgs","repos_url":"https://api.github.com/users/dlemstra/repos","events_url":"https://api.github.com/users/dlemstra/events{/privacy}","received_events_url":"https://api.github.com/users/dlemstra/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T20:50:06Z","updated_at":"2018-06-18T20:50:06Z","author_association":"OWNER","body":"Sorry for the late response but I completely forgot about this issue.\r\n\r\nIt looks like you are running into a limit inside the libpng library. The size of your iTXt chunk is larger than that limit. At this moment we have no method to change/remove this limit but I will try to add that later this week. I was about to publish a new release but I will wait with that and add this feature to ImageMagick (and Magick.NET) first."}}
{"actor":{"display_login":"dlemstra"}}