- minor bugfixes
- added developer modal for viewing app data
This commit is contained in:
@@ -24,7 +24,11 @@ export const useCreateVideoSnapshot = () => {
|
||||
if (!snapShot) return;
|
||||
|
||||
try {
|
||||
const bitmap = await createImageBitmap(snapShot);
|
||||
const bitmap = await createImageBitmap(snapShot, {
|
||||
resizeWidth: 720,
|
||||
resizeHeight: 1080,
|
||||
resizeQuality: "high",
|
||||
});
|
||||
if (!bitmap) return;
|
||||
latestBitmapRef.current = bitmap;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user