-
Notifications
You must be signed in to change notification settings - Fork 141
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
imread bug while loading BMP file on Mac OS X #193
Comments
Can confirm this happens with PNG as well. The cause is most likely related to the latest OSX update, everything worked fine until my computer just updated. |
Interesting. Not sure if this will work, but try running |
No errors during the build, here's the output:
On Sat, Sep 27, 2014 at 1:32 PM, Kevin Squire notifications@github.com
|
A couple of observations:
So, let's find out what changed. See that error about line 57, and the line above it saying "key not found"? From the julia prompt, try something like this: edit("/Users/alexandre/.julia/v0.3/Images/src/ioformats/OSXnative.jl",57) (or just open the file in an editor any way that works). You'll notice that line is looking something up in a dictionary. Let's see what that key value actually is: put something like @show pixeldepth before that line and see what it says. |
(I'd do this myself, but I don't have a Mac.) |
Oh, wait: looking at the output more closely, I bet the key is "8". I bet 366679f broke this. Fix coming momentarily. |
Fixed by 0a16a21. Available through |
That did it. Thanks, must have updated before the OSX update. On Sat, Sep 27, 2014 at 2:33 PM, Tim Holy notifications@github.com wrote:
|
It also worked for me. Thanks |
Glad it worked, and thanks everyone for reporting back. |
Hi,
I've a problem while using the imread function for loading bmp file :
I'm using OS X 10.9.5, Julia 0.3.1 and I've installed ImageMagick with MacPorts.
Is there anyone that could help me?
Thanks
The text was updated successfully, but these errors were encountered: