diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-06 09:52:26 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-06 09:52:26 +0100 |
| commit | d5967c1b91b14b3b4e5b0d9663e8a4d2a5e80533 (patch) | |
| tree | 4ac34f1e81b73b24139ac0eafa2db72f524f2a42 /dist | |
| parent | dbc0fd52a8497c5002e8311eb1728050a4e97c7a (diff) | |
wasm front end becomes the main gipfel; add desktop installers
- rename crates/wipfel -> crates/gipfel (crate, wasm artifact, dist,
scripts, page titles); slogan back to "Photogrammetry for Mountain
Images"; crates/wipfel-tauri -> crates/gipfel-desktop
- new features in the wasm app: Save image (gipfel JPEG comment, same
format as before, via browser download) and lens distortion profiles
stored in localStorage in FLTK prefs format with camera auto-match
on image load; profile name field, save/load and dropdown
- gipfel-core: read GPSImgDirection from EXIF (magnetic -> true) as
azimuth fallback; expose parse_prefs/serialize_prefs for the wasm
build; ?file=/?az=/?pitch=/?roll=/?focal=/?vis= URL parameters
- Tauri v2 wrapper crate building .deb, AppImage and (cross-compiled)
Windows NSIS installers; safe stage-and-swap build-release.sh
- README: web-centric Installation, concise Build section for the
official targets (Web, Windows, Linux); drop native/Android mentions
- release site moved dist/wipfel -> dist/gipfel
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/gipfel/gipfel.dat.gz (renamed from dist/wipfel/gipfel.dat.gz) | bin | 346448 -> 346448 bytes | |||
| -rw-r--r-- | dist/gipfel/gipfel.js (renamed from dist/wipfel/wipfel.js) | 96 | ||||
| -rw-r--r-- | dist/gipfel/gipfel_bg.wasm | bin | 0 -> 551505 bytes | |||
| -rw-r--r-- | dist/gipfel/index.html (renamed from dist/wipfel/index.html) | 2 | ||||
| -rw-r--r-- | dist/gipfel/loader.js (renamed from dist/wipfel/loader.js) | 2 | ||||
| -rw-r--r-- | dist/gipfel/style.css (renamed from dist/wipfel/style.css) | 21 | ||||
| -rw-r--r-- | dist/wipfel/wipfel_bg.wasm | bin | 524243 -> 0 bytes |
7 files changed, 106 insertions, 15 deletions
diff --git a/dist/wipfel/gipfel.dat.gz b/dist/gipfel/gipfel.dat.gz Binary files differindex 94742bb..94742bb 100644 --- a/dist/wipfel/gipfel.dat.gz +++ b/dist/gipfel/gipfel.dat.gz diff --git a/dist/wipfel/wipfel.js b/dist/gipfel/gipfel.js index f3c4b1b..f570bef 100644 --- a/dist/wipfel/wipfel.js +++ b/dist/gipfel/gipfel.js @@ -1,4 +1,4 @@ -/* @ts-self-types="./wipfel.d.ts" */ +/* @ts-self-types="./gipfel.d.ts" */ function __wbg_get_imports() { const import0 = { __proto__: null, @@ -126,6 +126,13 @@ function __wbg_get_imports() { const ret = arg0.createImageBitmap(arg1); return ret; }, arguments); }, + __wbg_createObjectURL_2f3b38279fe61801: function() { return handleError(function (arg0, arg1) { + const ret = URL.createObjectURL(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments); }, __wbg_createTextNode_561b59dda21e4ea7: function(arg0, arg1, arg2) { const ret = arg0.createTextNode(getStringFromWasm0(arg1, arg2)); return ret; @@ -209,6 +216,13 @@ function __wbg_get_imports() { const ret = arg0.getContext(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments); }, + __wbg_getItem_4c80b7663197c7ff: function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg1.getItem(getStringFromWasm0(arg2, arg3)); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments); }, __wbg_getPropertyValue_e90a3628c2de4fb6: function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3)); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); @@ -220,6 +234,13 @@ function __wbg_get_imports() { const ret = arg0[arg1 >>> 0]; return ret; }, + __wbg_get_c750d30d265eb0c2: function(arg0, arg1, arg2, arg3) { + const ret = arg1.get(getStringFromWasm0(arg2, arg3)); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, __wbg_height_9dca4d43c3e4b84b: function(arg0) { const ret = arg0.height; return ret; @@ -260,6 +281,16 @@ function __wbg_get_imports() { const ret = result; return ret; }, + __wbg_instanceof_HtmlElement_32fb153a5a0e2349: function(arg0) { + let result; + try { + result = arg0 instanceof HTMLElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }, __wbg_instanceof_ImageBitmap_74bea45ee48d3d7a: function(arg0) { let result; try { @@ -331,6 +362,14 @@ function __wbg_get_imports() { const ret = arg0.__yew_listener_id; return isLikeNone(ret) ? Number.MAX_SAFE_INTEGER : (ret) >>> 0; }, + __wbg_localStorage_567c24950edbc178: function() { return handleError(function (arg0) { + const ret = arg0.localStorage; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments); }, + __wbg_location_9c46e8ada95d3174: function(arg0) { + const ret = arg0.location; + return ret; + }, __wbg_measureText_1035b288be51876c: function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.measureText(getStringFromWasm0(arg1, arg2)); return ret; @@ -398,6 +437,14 @@ function __wbg_get_imports() { const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1)); return ret; }, + __wbg_new_with_str_bb707702009e7af7: function() { return handleError(function (arg0, arg1) { + const ret = new URLSearchParams(getStringFromWasm0(arg0, arg1)); + return ret; + }, arguments); }, + __wbg_new_with_u8_array_sequence_and_options_fccc08fe93f4b8fd: function() { return handleError(function (arg0, arg1) { + const ret = new Blob(arg0, arg1); + return ret; + }, arguments); }, __wbg_new_with_u8_array_sequence_f380e3e783ae5617: function() { return handleError(function (arg0) { const ret = new Blob(arg0); return ret; @@ -463,9 +510,22 @@ function __wbg_get_imports() { const ret = Promise.resolve(arg0); return ret; }, + __wbg_revokeObjectURL_479ff72c2d109d80: function() { return handleError(function (arg0, arg1) { + URL.revokeObjectURL(getStringFromWasm0(arg0, arg1)); + }, arguments); }, + __wbg_search_31c06ba77ebf51f4: function() { return handleError(function (arg0, arg1) { + const ret = arg1.search; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments); }, __wbg_setAttribute_9e7d603908f63705: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments); }, + __wbg_setItem_c5fb0966b484ecd3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments); }, __wbg_setPointerCapture_a53e23b7bccef290: function() { return handleError(function (arg0, arg1) { arg0.setPointerCapture(arg1); }, arguments); }, @@ -525,6 +585,9 @@ function __wbg_get_imports() { __wbg_set_textAlign_1bda1733d57574ed: function(arg0, arg1, arg2) { arg0.textAlign = getStringFromWasm0(arg1, arg2); }, + __wbg_set_type_dcf75b2afa60c694: function(arg0, arg1, arg2) { + arg0.type = getStringFromWasm0(arg1, arg2); + }, __wbg_set_value_f5c1ffc19bac3037: function(arg0, arg1, arg2) { arg0.value = getStringFromWasm0(arg1, arg2); }, @@ -605,6 +668,13 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, + __wbg_value_e2b1e9c07e7e5815: function(arg0, arg1) { + const ret = arg1.value; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, __wbg_width_3d0dce3d9892e35e: function(arg0) { const ret = arg0.width; return ret; @@ -618,22 +688,22 @@ function __wbg_get_imports() { return ret; }, __wbindgen_generic_0000000000000001: function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 48, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`. + // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 72, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`. const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___wasm_bindgen_f1f668f83a5f514b___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f1f668f83a5f514b___JsError___true_); return ret; }, __wbindgen_generic_0000000000000002: function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 74, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_fd3e5a073eeae266___features__gen_ResizeObserver__ResizeObserver______true_); + // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 32, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_ce8fadd6eea37a81___features__gen_ResizeObserver__ResizeObserver______true_); return ret; }, __wbindgen_generic_0000000000000003: function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_fd3e5a073eeae266___features__gen_Event__Event______true_); + // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 96, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_ce8fadd6eea37a81___features__gen_Event__Event______true_); return ret; }, __wbindgen_generic_0000000000000004: function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 76, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 34, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true_); return ret; }, @@ -654,7 +724,7 @@ function __wbg_get_imports() { }; return { __proto__: null, - "./wipfel_bg.js": import0, + "./gipfel_bg.js": import0, }; } @@ -662,8 +732,8 @@ function wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true wasm.wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true_(arg0, arg1); } -function wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_fd3e5a073eeae266___features__gen_Event__Event______true_(arg0, arg1, arg2) { - wasm.wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_fd3e5a073eeae266___features__gen_Event__Event______true_(arg0, arg1, arg2); +function wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_ce8fadd6eea37a81___features__gen_Event__Event______true_(arg0, arg1, arg2) { + wasm.wasm_bindgen_f1f668f83a5f514b___convert__closures________invoke___web_sys_ce8fadd6eea37a81___features__gen_Event__Event______true_(arg0, arg1, arg2); } function wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___wasm_bindgen_f1f668f83a5f514b___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f1f668f83a5f514b___JsError___true_(arg0, arg1, arg2) { @@ -677,8 +747,8 @@ function wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_3 wasm.wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Function_fn_wasm_bindgen_f1f668f83a5f514b___JsValue_____wasm_bindgen_f1f668f83a5f514b___sys__Undefined___js_sys_351dd7d36d5f7033___Function_fn_wasm_bindgen_f1f668f83a5f514b___JsValue_____wasm_bindgen_f1f668f83a5f514b___sys__Undefined_______true_(arg0, arg1, arg2, arg3); } -function wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_fd3e5a073eeae266___features__gen_ResizeObserver__ResizeObserver______true_(arg0, arg1, arg2, arg3) { - wasm.wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_fd3e5a073eeae266___features__gen_ResizeObserver__ResizeObserver______true_(arg0, arg1, arg2, arg3); +function wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_ce8fadd6eea37a81___features__gen_ResizeObserver__ResizeObserver______true_(arg0, arg1, arg2, arg3) { + wasm.wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_ce8fadd6eea37a81___features__gen_ResizeObserver__ResizeObserver______true_(arg0, arg1, arg2, arg3); } function addToExternrefTable0(obj) { @@ -1023,7 +1093,7 @@ async function __wbg_init(module_or_path) { } if (module_or_path === undefined) { - module_or_path = new URL('wipfel_bg.wasm', import.meta.url); + module_or_path = new URL('gipfel_bg.wasm', import.meta.url); } const imports = __wbg_get_imports(); diff --git a/dist/gipfel/gipfel_bg.wasm b/dist/gipfel/gipfel_bg.wasm Binary files differnew file mode 100644 index 0000000..417b81e --- /dev/null +++ b/dist/gipfel/gipfel_bg.wasm diff --git a/dist/wipfel/index.html b/dist/gipfel/index.html index e56de5c..3356815 100644 --- a/dist/wipfel/index.html +++ b/dist/gipfel/index.html @@ -15,7 +15,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="theme-color" content="#101014" media="(prefers-color-scheme: dark)" /> <meta name="theme-color" content="#e9eaf0" media="(prefers-color-scheme: light)" /> - <title>wipfel — web based gipfel photogrammetry</title> + <title>gipfel — Photogrammetry for Mountain Images</title> <link rel="stylesheet" href="style.css" /> </head> <body> diff --git a/dist/wipfel/loader.js b/dist/gipfel/loader.js index 8880478..5fbd558 100644 --- a/dist/wipfel/loader.js +++ b/dist/gipfel/loader.js @@ -1,4 +1,4 @@ // External loader so the page needs no inline <script>, keeping // `script-src 'self'` in the Content-Security-Policy sufficient. -import init from './wipfel.js'; +import init from './gipfel.js'; init(); diff --git a/dist/wipfel/style.css b/dist/gipfel/style.css index 9ed7bd8..1a0173c 100644 --- a/dist/wipfel/style.css +++ b/dist/gipfel/style.css @@ -355,3 +355,24 @@ canvas.compass { background: var(--btn); color: #fff; } +.subsection { + margin-top: 10px; + font-size: 12px; + color: var(--text-dim); +} +.textinput { + width: 100%; + box-sizing: border-box; + padding: 6px 8px; + background: var(--btn); + color: var(--text); + border: 1px solid var(--panel-border); + border-radius: 6px; + font-size: 13px; +} +select.textinput { + margin-top: 6px; +} +.row.gap { + margin-top: 6px; +} diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm Binary files differdeleted file mode 100644 index e0ce1d7..0000000 --- a/dist/wipfel/wipfel_bg.wasm +++ /dev/null |
