mirror of
https://github.com/nothings/stb-imv
synced 2024-11-24 22:39:40 +03:00
resize after changing resize quality
This commit is contained in:
parent
ca0cea5b5f
commit
ede8fd0258
6
imv.c
6
imv.c
@ -1926,8 +1926,11 @@ BOOL CALLBACK PrefDlgProc(HWND hdlg, UINT imsg, WPARAM wparam, LPARAM lparam)
|
||||
stb_mutex_end(cache_mutex);
|
||||
// force a reload of the current image
|
||||
advance(0);
|
||||
} else if (old_cubic != upsample_cubic)
|
||||
} else if (old_cubic != upsample_cubic) {
|
||||
free(cur_filename);
|
||||
cur_filename = NULL;
|
||||
advance(0);
|
||||
}
|
||||
|
||||
// save the data out to the registry
|
||||
reg_save();
|
||||
@ -2449,6 +2452,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||
pending_resize.size = qs;
|
||||
queue_resize(qs.w, qs.h, source_c, FALSE);
|
||||
}
|
||||
//flush = FALSE;
|
||||
}
|
||||
qs.w = 0;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
Version 0.94: Beta 5
|
||||
* (bugfix: fix cacheing code to allow refreshing current image after flip etc.)
|
||||
* (feature: use 'f' to flip image vertically, in case FreeImage sucks)
|
||||
* bugfix: changing image resize quality in preferences refreshes on OK
|
||||
* feature: sort filenames to sort numbers in human-friendly order
|
||||
* feature: show index within sorted list
|
||||
* feature: ctrl-C puts current image filename (with full path) in the clipboard
|
||||
|
Loading…
Reference in New Issue
Block a user