Changeset 412e9e8b in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Sep 17, 2017 11:46:04 PM (7 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- fca1f50
- Parents:
- 6479f3a
- Location:
- src/sas/sasgui/perspectives/calculator
- Files:
-
- 3 added
- 3 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/image_viewer.py
r6479f3a r412e9e8b 59 59 _, extension = os.path.splitext(basename) 60 60 try: 61 # Note that matplotlib only reads png natively. 62 # Any other formats (tiff, jpeg, etc) are passed 63 # to PIL which seems to have a problem in version 64 # 1.1.7 that causes a close error which shows up in 65 # the log file. This does not seem to have any adverse 66 # effects. PDB --- September 17, 2017. 61 67 img = mpimg.imread(file_path) 62 68 is_png = extension.lower() == '.png' -
src/sas/sasgui/perspectives/calculator/media/image_viewer_help.rst
rda456fb r412e9e8b 34 34 will be displayed. 35 35 36 .. image:: load_image. bmp36 .. image:: load_image.png 37 37 38 38 3) To save, print, or copy the image, or to apply a grid overlay, right-click 39 39 anywhere in the plot. 40 40 41 .. image:: pic_plot. bmp41 .. image:: pic_plot.png 42 42 43 43 4. If the image is taken from a 2D detector, SasView can attempt to convert … … 51 51 then click the OK. 52 52 53 .. image:: pic_convert. bmp53 .. image:: pic_convert.png 54 54 55 55 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Note: See TracChangeset
for help on using the changeset viewer.