Commits on Source (41)
-
Martin Uecker authored
-
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Sebastian Rosenzweig authored
-
Sebastian Rosenzweig authored
-
Sebastian Rosenzweig authored
-
Sebastian Rosenzweig authored
-
H. Christian M. Holme authored
Improved the default filename in the save dialog to be the basename of the currently open path; and changed the default dimension string. Replaced unsafe string functions by their safe alternatives.
-
H. Christian M. Holme authored
Movie export now has it's own button, which lets the user select a folder to which the movie will be exported.
-
H. Christian M. Holme authored
-
H. Christian M. Holme authored
This should prevent writing past the name buffer.
-
H. Christian M. Holme authored
Added two new colormaps, which have the beautiful names "viridis" and "MYGBM". viridis is the perceptually uniform, new default colormap of the matplotlib project. MYGBM is the "cyclic_mygbm" colormap from the colorcet project (https://github.com/bokeh/colorcet/), It tries to give more accurate phase information by using 4 different colors for values at 0, pi/2, -pi/2 and +/-pi.
-
H. Christian M. Holme authored
-
H. Christian M. Holme authored
Added a command-line tool 'cfl2png' which allows exporting images from the command line. Currently still on the drawing code in view.c, so it is not independent of GTK yet. Long term plan is to move this tool (together with the code it needs) into BART.
-
H. Christian M. Holme authored
We move some of the code around so that cfl2png no longer depends on GTK+, since it really is an unneeded dependency. Ugly part: draw now contains some functions that should rather belong in some kind of general "utils" file or something similar, since they are not related to drawing.
-
-
Martin Uecker authored
Sync internal version
-
Jon Tamir authored
-
H. Christian M. Holme authored
With newer versions of GTK+ (at least with 3.22), a segfault is triggered on changing sync state. The reason for that is that the signal is called with 2 arguments, but the third argument is used as struct view_s. According to https://developer.gnome.org/gtk3/stable/GtkToggleButton.html#GtkToggleButton-toggled the handler is called as void user_function (GtkToggleButton *togglebutton, gpointer user_data) so the first arguemnt is the button (which is unused in view) and the second is the data we want. This works on GTK+3 v3.22 and v3.14 at least. I do not know why it worked before v3.22.
-
Martin Uecker authored
fix segfault on toggle_sync in newer GTK
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
-
This commit fixes interpolation in view: The idea is as follows: uninterpolated, each pixel represents a value sitting in its center. This is exactly how GIMP implements linear interpolation.
-
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
-
Martin Uecker authored
README.md
0 → 100644
src/cfl2png.c
0 → 100644
src/colormaps.inc
0 → 100644
viewer.png
0 → 100644
115 KiB