The Media bundle provide a few command line tools.
Refreshing
If you change filter setting or the code was changed. You need to refresh your formats.
app/console enhavo:media:refresh-format --format="myFormatName"
You can also use the --id
option to target a file.