Basic HEIC image translator

ok good point, didn’t check that, in my case, I need dynamic management of MIME types but didn’t package them yet. I intend to do this soon, so my little helper tool might become obsolete then, which would actually be awesome:)

Note: Use FFmpeg 6 (default), not v5 (optional).

Regardless of packages, the MIME server should be node monitoring the MIME files in all directories and enabling then immediately as they are created.

A reboot to make changes to the system? This is what Windows 95 did, not BeOS and Haiku :slight_smile:

2 Likes

Yup, exactly my thoughts. I’m not sure if I created an issue back then or just wrote in the form but will make sure it’s known and can be tackled.

Interestingly, a small C++ program code can instantly add or remove mime types, no reboot required.

My recipe code, however, does not seem to work without a reboot:

resattr -O -o $dataDir/mime_db/image/heic HEICMime.rsrc

The translator is now available for installation from the HaikuDepot.

1 Like

Right, same with squashfs_tools. Maybe an edge-case where mime-type node monitoring doesn’t works well enough at package activation post-boot?

nice, just tried with this one
https://heic.digital/download-sample/chef-with-trumpet.heic
and everyhing worked like a charm, type also correctly identified and displayd, also in FileTypes (image/HVIF).
Thanks!

2 Likes