A media conversion can be added to your model in the
registerModelConversions-function. It should start with a call to
addMediaConversion. From there on you can use any of the methods available in the API. They are all chainable.
Take a look in the Defining conversions section
for more details.
public function addMediaConversion($name)
public function performOnCollections($collectionNames)
public function queued()
public function nonQueued()
You may add any call to one of the manipulation functions available on the spatie/image package.