{"action":"closed","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/510","repository_url":"https://api.github.com/repos/jcupitt/libvips","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/510/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/510/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/510/events","html_url":"https://github.com/jcupitt/libvips/issues/510","id":174254408,"number":510,"title":"vipsthumbnail - converting a cmyk image and exporting using ICC gives wrong colors","user":{"login":"zvikam","id":10184287,"avatar_url":"https://avatars.githubusercontent.com/u/10184287?v=3","gravatar_id":"","url":"https://api.github.com/users/zvikam","html_url":"https://github.com/zvikam","followers_url":"https://api.github.com/users/zvikam/followers","following_url":"https://api.github.com/users/zvikam/following{/other_user}","gists_url":"https://api.github.com/users/zvikam/gists{/gist_id}","starred_url":"https://api.github.com/users/zvikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvikam/subscriptions","organizations_url":"https://api.github.com/users/zvikam/orgs","repos_url":"https://api.github.com/users/zvikam/repos","events_url":"https://api.github.com/users/zvikam/events{/privacy}","received_events_url":"https://api.github.com/users/zvikam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-31T11:58:08Z","updated_at":"2016-09-01T10:35:46Z","closed_at":"2016-09-01T10:35:46Z","body":"When I try to convert a CMYK image and use a new ICC profile for exporting\r\n\r\n    vipsthumbnail --vips-info -s 4288x2848 -e sRGB_IEC61966-2-1_black_scaled.icc source.jpg\r\n\r\nThe resulting image is brighter than the original (similar colors, just noticeably brighter).\r\n\r\nThe specified size is equal to original, so no resize.\r\nThe ICC profile is the standard one found online at [http://www.color.org/srgbprofiles.xalter](url)\r\nThe operation is successful, no errors or warnings:\r\n\r\n    info: vipsthumbnail: thumbnailing source.jpg\r\n    info: vipsthumbnail: selected loader is VipsForeignLoadJpegFile\r\n    info: vipsthumbnail: loading jpeg with factor 1 pre-shrink\r\n    info: vipsthumbnail: importing with embedded profile\r\n    info: vipsthumbnail: converting to processing space srgb\r\n    info: resize: box shrink by 1 x 1\r\n    info: resize: residual affine 1 x 1\r\n    info: resize: nearest interpolation\r\n    info: vipsthumbnail: exporting to device space with a profile\r\n    info: vipsthumbnail: thumbnailing source.jpg as tn_source.jpg\r\n\r\nSource image: [https://drive.google.com/file/d/0B53nio2u3kjNZGZUWDlJeV9hQ3M/view?usp=sharing](url)\r\n\r\nAm I doing something wrong or is this a problem?"}}
{"actor":{"display_login":"zvikam"}}