{"action":"created","issue":{"url":"https://api.github.com/repos/timholy/Images.jl/issues/269","labels_url":"https://api.github.com/repos/timholy/Images.jl/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/timholy/Images.jl/issues/269/comments","events_url":"https://api.github.com/repos/timholy/Images.jl/issues/269/events","html_url":"https://github.com/timholy/Images.jl/issues/269","id":63098981,"number":269,"title":"cannot view Ufixed16 in IJulia & test fails","user":{"login":"Ken-B","id":1241900,"avatar_url":"https://avatars.githubusercontent.com/u/1241900?v=3","gravatar_id":"","url":"https://api.github.com/users/Ken-B","html_url":"https://github.com/Ken-B","followers_url":"https://api.github.com/users/Ken-B/followers","following_url":"https://api.github.com/users/Ken-B/following{/other_user}","gists_url":"https://api.github.com/users/Ken-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Ken-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ken-B/subscriptions","organizations_url":"https://api.github.com/users/Ken-B/orgs","repos_url":"https://api.github.com/users/Ken-B/repos","events_url":"https://api.github.com/users/Ken-B/events{/privacy}","received_events_url":"https://api.github.com/users/Ken-B/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-19T21:54:50Z","updated_at":"2015-05-20T12:18:54Z","closed_at":null,"body":"Viewing an `Ufixed16` image in IJulia fails with:\r\n\r\n```\r\n`map1` has no method matching map1(::BitShift{RGB{UfixedBase{Uint8,8}},8}, ::Float64)\r\n\r\n in _map_a! at C:\\Users\\Ken\\.julia\\v0.3\\Images\\src\\map.jl:360\r\n in map! at C:\\Users\\Ken\\.julia\\v0.3\\Images\\src\\map.jl:352\r\n in image2wand at C:\\Users\\Ken\\.julia\\v0.3\\Images\\src\\io.jl:307\r\n in writemime at C:\\Users\\Ken\\.julia\\v0.3\\Images\\src\\io.jl:204\r\n in base64 at base64.jl:125\r\n in display_dict at C:\\Users\\Ken\\.julia\\v0.3\\IJulia\\src\\execute_request.jl:34\r\n```\r\nHowever, converting it to `Ufixed8` with `convert(Image{RGB{Ufixed8}},img)` will print the image in IJulia.\r\n\r\nThe tests also fail\r\n\r\n```\r\njulia> `Pkg.test(\"Images\")`\r\nINFO: Testing Images\r\nERROR: test error during map(mapi,c) == convert(Images.ColorTypes.BGRA{Ufixed8},\r\nc) && typeof(map(mapi,c)) == typeof(convert(Images.ColorTypes.BGRA{Ufixed8},c))\r\ntype: AlphaColorValue: in C, expected C<:ColorValue{T}, got Type{UfixedBase{Uint\r\n8,8}}\r\n in anonymous at test.jl:62\r\n in do_test at test.jl:37\r\n in include at boot.jl:245\r\n in include_from_node1 at loading.jl:128\r\n in include at boot.jl:245\r\n in include_from_node1 at loading.jl:128\r\n in process_options at client.jl:285\r\n in _start at client.jl:354\r\nwhile loading C:\\Users\\Ken\\.julia\\v0.3\\Images\\test\\map.jl, in expression startin\r\ng on line 34\r\nwhile loading C:\\Users\\Ken\\.julia\\v0.3\\Images\\test\\runtests.jl, in expression st\r\narting on line 5\r\n\r\n===============================[ ERROR: Images ]================================\r\n\r\n\r\nfailed process: Process(`'C:\\CodingProgs\\Julia64\\Julia-0.3.6\\bin/julia' 'C:\\User\r\ns\\Ken\\.julia\\v0.3\\Images\\test\\runtests.jl'`, ProcessExited(1)) [1]\r\n\r\n================================================================================\r\n\r\nINFO: No packages to install, update or remove\r\nERROR: Images had test errors\r\n in error at error.jl:21 (repeats 2 times)\r\n\r\njulia> versioninfo()\r\nJulia Version 0.3.6\r\nCommit 0c24dca (2015-02-17 22:12 UTC)\r\nPlatform Info:\r\n  System: Windows (x86_64-w64-mingw32)\r\n  CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)\r\n  LAPACK: libopenblas\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.3\r\n```\r\n\r\nLet me know what I can do to help."},"comment":{"url":"https://api.github.com/repos/timholy/Images.jl/issues/comments/103861150","html_url":"https://github.com/timholy/Images.jl/issues/269#issuecomment-103861150","issue_url":"https://api.github.com/repos/timholy/Images.jl/issues/269","id":103861150,"user":{"login":"Ken-B","id":1241900,"avatar_url":"https://avatars.githubusercontent.com/u/1241900?v=3","gravatar_id":"","url":"https://api.github.com/users/Ken-B","html_url":"https://github.com/Ken-B","followers_url":"https://api.github.com/users/Ken-B/followers","following_url":"https://api.github.com/users/Ken-B/following{/other_user}","gists_url":"https://api.github.com/users/Ken-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Ken-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ken-B/subscriptions","organizations_url":"https://api.github.com/users/Ken-B/orgs","repos_url":"https://api.github.com/users/Ken-B/repos","events_url":"https://api.github.com/users/Ken-B/events{/privacy}","received_events_url":"https://api.github.com/users/Ken-B/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T12:18:54Z","updated_at":"2015-05-20T12:18:54Z","body":"Here's a link to the original raw file (sky.NEF): https://copy.com/ZpWXGUuFkXX0usCO\r\n\r\nFYI, I've also had problems on windows with ImageMagick opening 16bit dng files converted with Adobe DNG converter. The only Q16-x64-dll version that seems to work is 6.9.1-0, not earlier or later versions."}}