How do I either compress existing .env into low res or restore an hdr from it?

Hi Team,

I hope you’re doing well. Unfortunately, I’ve lost access to the original .hdr file for my .env environment. Since then, the introduction of WebP environments and low-resolution options from Babylon IBL has caught my attention.

Currently, the size of my .env file is quite large, and I’m exploring ways to compress it into a low-resolution version or, ideally, convert it to WebP. Alternatively, if there’s a way to restore the .hdr file, I’d love to know so I can export these versions directly from the sandbox.

Looking forward to your guidance.

Thank you!

As far as I know, it’s not possible to recover the original data from an .env file, because the data in an .env file has been pre-filtered and it’s not possible to “de-filter” it.

What you can do is load your existing .env file, then save a new one with new parameters. Here’s how the inspector does it:

Thank you @Evgeni_Popov worked great.
Have a happy holidays!