Fix EZP-23368: Migrate image filters leftovers

> https://jira.ez.no/browse/EZP-23368
Nitpick:  their code is very similar, could we refactor it a bit ?