parent
27c903755e
commit
b54d6eea9a
@ -15,8 +15,8 @@ export function rgbToHex(r: number, g: number, b: number): string {
|
||||
}
|
||||
|
||||
export async function getStoryboard(imageFileOrUrl: string): Promise<string> {
|
||||
let base = path.basename(imageFileOrUrl);
|
||||
let outputImagePath = getTmpFile(base);
|
||||
let { name } = path.parse(imageFileOrUrl);
|
||||
let outputImagePath = getTmpFile(`${name}.png`);
|
||||
let options = {
|
||||
input: imageFileOrUrl,
|
||||
output: outputImagePath,
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@futureporn/temporal-worker",
|
||||
"type": "module",
|
||||
"version": "0.0.0",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"files": [
|
||||
"dist"
|
||||
|
Loading…
x
Reference in New Issue
Block a user