Speed improvements for online negative inversion with film Q.
Speed improvements for online negative inversion with film Q.

#website #filmq ☝️ All Comments

  • Speed improvements for online negative inversion with film Q.

    film Q v1.0.3 is now about 8 seconds faster per frame, thanks to internal optimizations.

    If you’re using the native analog.mom Storage option, your waiting time should be shorter thanks to a recent update to the preview generation mechanism.

    Scan preview generation is an important part of the process for ensuring efficient resource allocation. Without this step, your browser may be forced to load hundreds of megabytes of image data, which can cause it to lag or crash.

    In the original design, I used AVIF image compression, which can yield files half the size of JPEG with the same image quality (in addition to resizing to browser-friendly dimensions). However, this type of compression is more expensive computationally.

    I designed a test that compares JPEG to WEBP to AVIF conversions, each performed 20 times against a 24-megapixel 165MB TIFF file and a 24-megapixel 4MB JPEG file. I’ve also added a resize function that resizes those images to the browser-friendly 8 megapixels.

    The results looked promising on my machine, but once I reran the test on production hardware, they became shockingly impressive: 8.3 seconds saved per image by switching to JPEG!

    The resulting images are larger, but that difference isn’t nearly as consequential as the time saved during the conversion.

    The implementation had its challenges, but the work is now complete, and you can enjoy faster film negative inversions with film Q!

    #website #film Q


Menu
[email protected]