{"action":"created","issue":{"url":"https://api.github.com/repos/timholy/Images.jl/issues/351","labels_url":"https://api.github.com/repos/timholy/Images.jl/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/timholy/Images.jl/issues/351/comments","events_url":"https://api.github.com/repos/timholy/Images.jl/issues/351/events","html_url":"https://github.com/timholy/Images.jl/issues/351","id":104331844,"number":351,"title":"Slowdown in displaying large images in IJulia","user":{"login":"cstjean","id":8622776,"avatar_url":"https://avatars.githubusercontent.com/u/8622776?v=3","gravatar_id":"","url":"https://api.github.com/users/cstjean","html_url":"https://github.com/cstjean","followers_url":"https://api.github.com/users/cstjean/followers","following_url":"https://api.github.com/users/cstjean/following{/other_user}","gists_url":"https://api.github.com/users/cstjean/gists{/gist_id}","starred_url":"https://api.github.com/users/cstjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstjean/subscriptions","organizations_url":"https://api.github.com/users/cstjean/orgs","repos_url":"https://api.github.com/users/cstjean/repos","events_url":"https://api.github.com/users/cstjean/events{/privacy}","received_events_url":"https://api.github.com/users/cstjean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-01T18:55:24Z","updated_at":"2015-09-02T14:54:05Z","closed_at":null,"body":"I Pkg.updated today for the first time in two weeks, and had to deal with the Color->Colors changes. Displaying large images in IJulia is now much slower than it was. I never timed it before, but now displaying a (1320,2420) image takes > 20 seconds (it gets resized automatically, so maybe the resizing code was changed?) whereas my recollection is that it was basically instantaneous.\r\n\r\nI just have this large image in one variable, `im`, whose type is `Image{RGBA{UfixedBase{Uint8,8}},2,Array{RGBA{UfixedBase{Uint8,8}},2}}`. Then entering a cell with just\r\n\r\n`im`\r\n\r\ntakes >20 seconds to display the image on OSX, Julia 3.10. Apologies for the lack of clear comparison - if this does not ring a bell at all, please just close the issue as non-reproducible."},"comment":{"url":"https://api.github.com/repos/timholy/Images.jl/issues/comments/137112007","html_url":"https://github.com/timholy/Images.jl/issues/351#issuecomment-137112007","issue_url":"https://api.github.com/repos/timholy/Images.jl/issues/351","id":137112007,"user":{"login":"cstjean","id":8622776,"avatar_url":"https://avatars.githubusercontent.com/u/8622776?v=3","gravatar_id":"","url":"https://api.github.com/users/cstjean","html_url":"https://github.com/cstjean","followers_url":"https://api.github.com/users/cstjean/followers","following_url":"https://api.github.com/users/cstjean/following{/other_user}","gists_url":"https://api.github.com/users/cstjean/gists{/gist_id}","starred_url":"https://api.github.com/users/cstjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstjean/subscriptions","organizations_url":"https://api.github.com/users/cstjean/orgs","repos_url":"https://api.github.com/users/cstjean/repos","events_url":"https://api.github.com/users/cstjean/events{/privacy}","received_events_url":"https://api.github.com/users/cstjean/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T14:54:05Z","updated_at":"2015-09-02T14:54:05Z","body":"I was just doing that! Two thirds of the run time is on [this line](https://github.com/timholy/Images.jl/blob/a3b178c45968fd7bc1bfaeece0ba9a53ca84037e/src/algorithms.jl#L1008), which looks innocent enough, but it calls slow [addition](https://github.com/JuliaGraphics/ColorVectorSpace.jl/blob/master/src/ColorVectorSpace.jl#L100) and [multiplication](https://github.com/JuliaGraphics/ColorVectorSpace.jl/blob/master/src/ColorVectorSpace.jl#L81) operations in ColorVectorSpace (line numbers taken from ProfileView - they are off, but I don't know which line is actually called)\r\n\r\n![screen shot 2015-09-02 at 10 49 03](https://cloud.githubusercontent.com/assets/8622776/9634557/45237eda-5160-11e5-8060-dbccbe2add01.png)\r\n"}}