-
Notifications
You must be signed in to change notification settings - Fork 43
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
Investigate why Image Viewer tool is not loading .TIF or .BMP (Trac #265) #413
Comments
Trac update at On further investigation, this works on my development system (windows 8.1 laptop with packages as given in ticket #361 [raw-attachment:sasview-dependencies-survey.pdf:ticket:213 Table]. It does not work however in the exe bundle. imageviewer.py in the guiframe package seems to be doing the work and is using matplotlib.image.imread to load the files. My matplotlib is 1.3 instead of the 1.1. on the build system. However this code was introduced by Jae Hie about a year ago (probably using 0.98?) so not likly to be cuplrit? Looking for dependencies that might be a problem I found an article which suggests that only PNG is natively supported by matplotlib and that the other formats rely on PIL -- but my system (which works) does not have PIL while the build system (which seems not to work) does have PIL. |
Trac update at |
Trac update at |
Trac update at
Test BMP file |
Trac update at
Test GIF file |
Trac update at
Test JPG File |
Trac update at
Test PNG File |
Trac update at
Test Tiff Full Color File |
Trac update at
Test Tiff Black And White File |
Trac update at I can load and manipulate all of the image files attached to this ticket using the most recent trunk version of SasView. The images are all the same 2D data set converted into various image types. Are there any images that still are not working? |
Trac update at The images load on my Mac. The only problem I have is that the wildcards used in the dialog won't let you select any file. All files on the Mac file dialog are grayed out and there's no way to change the file extension filter. Apparently the support for wildcards isn't great with wx (at least according to their docs). I'll change it to load any file, but with better error catching (there is none at the moment). |
Trac update at
|
Paul said on 31 May:
It seems that jpg, png, and gif work but that bmp and tiff currently
do not.
Migrated from http://trac.sasview.org/ticket/265
The text was updated successfully, but these errors were encountered: