This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // vibe coded. it works tho, so don't ask me | |
| import puppeteer from 'puppeteer'; | |
| import { promises as fs } from 'fs'; | |
| import http from 'http'; | |
| import path from 'path'; | |
| async function createUltraHDR(hdrPath, sdrPath, outputPath) { | |
| console.log('Starting local file server...'); | |