[Cin] Where to add new brender formats?

Andrew Randrianasulu randrianasulu at gmail.com
Mon Mar 16 20:05:45 CET 2020


I was completely unable to find where  this list is saved or generated :/

I can see JPEG/PPM/PNG/TIFF/TGA .. But how to add (say) openEXR there? In theory
this format was already marked as is_image_render in file.C:



int File::is_image_render(int format)
{
        switch( format ) {
        case FILE_EXR:
        case FILE_JPEG:
        case FILE_PNG:
        case FILE_PPM:
        case FILE_TGA:
        case FILE_TIFF:
                return 1;
        }

        return 0;
}

?


More information about the Cin mailing list