ynput / LabLib

Create VFX Dailies with Python! Can be used to render directly or as a module extending other code.
MIT License
3 stars 2 forks source link

How to render Slates? #9

Closed tweak-wtf closed 4 months ago

tweak-wtf commented 5 months ago

The current approach to render out slates uses selenium to basically build a html site that gets screenshotted as png in the desired output dimensions. In my tests this was not as performant and would also limit us to only png afaik. i'm cautiously pessimistic about selenium being able to output exr.

Should we rather pivot to use PIL for building slates? I did some initial tests and i believe this could be implemented fairly quickly. However outputting exr could also prove to be a bit trickier looking at this (although already 3 years old) --> https://stackoverflow.com/questions/65605761/write-pil-image-to-exr-using-openexr-in-python

@jakubjezek001 maybe you could share what your approach in AYON was?