-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert(Image, ...) problem on IJulia #19
Comments
Thank you for the bug report. This is something I should fix. When you run that code in IJulia, it attempts to display the image, triggering the using Images, Colors, FixedPointNumbers
im1 = convert(Image{RGBA{UFixed8}}, randn(256,256)); But it throws an InexactError, and I don't know how to get around it. Anyone? |
On further investigation... @timholy Are floating-point images with values outside of |
Now there should be no need for an explicit import of either QuartzImageIO or ImageMagick. I can't remember what happens if an OSX user says
There's the |
On my machine (OSX), even with |
That may be OK, but perhaps we want to modify FileIO so it checks already-loaded modules first. Thoughts, @SimonDanisch? |
Ah yeah, that was on the imaginary TODO list... The worst part is, that the behaviour is then dependant on global state. Which might be okay? We should offer a way to force the IO library anyways, so people who really care about the choice of IO library are not bitten by some other package having |
Yeah, you're right that it's probably better to have |
Hi all,
on a clean IJulia notebook, executing the following
returns
before showing the correct result.
The same command on the REPL runs just fine.
The text was updated successfully, but these errors were encountered: