• Dmitry Kazakov's avatar
    Fix exporting animation frames into EXR format · 61b01b8c
    Dmitry Kazakov authored
    The patch fixes two problems:
    
    1) DlgAnimationRenderer didn't initialize frames' mimetype correctly,
       so exporting always happened into PNG format.
    
    2) DlgAnimationRenderer should correctly initialize saving format
       settings from the default cfg.exportConfiguration(). Using the
       same settings for both, animation rendering and normal image save
       is a disputable approach, but that  is how we do it for ages.
    
    3) EXRConverter shouldn't call any blocking functions on the image
       (and shouldn't change the state of the image as well). So it should
       convert non-16f/32f layers on the fly.
    
    BUG:406830
    61b01b8c
exr_converter.cc 50.1 KB