Convert a HEIC to a PNG or JPG in a FileMaker Web Viewer
Check out the fmp12 file for example usage
npm install
npm run build
Then copy the html file in dist
- This uses https://github.com/alexcorvi/heic2any to convert images. Please note that image metadata will not survive the conversion.
- Thanks to Andrew Mallinson for his help refining this example to include JPG conversion and his notes in the fmp12 file about detecting HEIC from Windows.