- π©πͺGermany IT-Cru Munich
@oknate & @hkirsman: Could you explain a little bit your use case where you really need this? I'm currently struggling a little bit, if it is a good idea to remove this $file->isPermanent() check or not.
On the one hand we would start image styles generation earlier as you described, when media entity is not saved yet.
On the other hand for people who need image styles only for permanent files it could have a big performance impact, when also all temporary files are automatically getting image styles, which also will get deleted, when this temporary files will be deleted again by Drupal core's file garbage collection.