mirror of
https://github.com/nothings/stb-imv
synced 2024-11-22 05:21:30 +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);
|
stb_mutex_end(cache_mutex);
|
||||||
// force a reload of the current image
|
// force a reload of the current image
|
||||||
advance(0);
|
advance(0);
|
||||||
} else if (old_cubic != upsample_cubic)
|
} else if (old_cubic != upsample_cubic) {
|
||||||
|
free(cur_filename);
|
||||||
|
cur_filename = NULL;
|
||||||
advance(0);
|
advance(0);
|
||||||
|
}
|
||||||
|
|
||||||
// save the data out to the registry
|
// save the data out to the registry
|
||||||
reg_save();
|
reg_save();
|
||||||
@ -2449,6 +2452,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
pending_resize.size = qs;
|
pending_resize.size = qs;
|
||||||
queue_resize(qs.w, qs.h, source_c, FALSE);
|
queue_resize(qs.w, qs.h, source_c, FALSE);
|
||||||
}
|
}
|
||||||
|
//flush = FALSE;
|
||||||
}
|
}
|
||||||
qs.w = 0;
|
qs.w = 0;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
Version 0.94: Beta 5
|
Version 0.94: Beta 5
|
||||||
* (bugfix: fix cacheing code to allow refreshing current image after flip etc.)
|
* (bugfix: fix cacheing code to allow refreshing current image after flip etc.)
|
||||||
* (feature: use 'f' to flip image vertically, in case FreeImage sucks)
|
* (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: sort filenames to sort numbers in human-friendly order
|
||||||
* feature: show index within sorted list
|
* feature: show index within sorted list
|
||||||
* feature: ctrl-C puts current image filename (with full path) in the clipboard
|
* feature: ctrl-C puts current image filename (with full path) in the clipboard
|
||||||
|
Loading…
Reference in New Issue
Block a user