Set derivative render quality

Per default the quality for derivatives is set to “highPerformance” (VipsImageSizingService:31).

Can I change this a) globally and b) in a derivative setting? Haven’t found anything in the docu about this.

Reason: Some times the rendered images, especially when creating smaller images, is not good.

You don’t really want to be looking at the services. These are all abstracted via the ImageManipulationService, which in turn is called from the AssetTransformers handler, which takes the derivative transformations and applies them to the assets.

All the configuration is done in the derivative definition, as described in the docs at Preside Documentation :: Image asset transformations

To specify the image quality, set quality in the transformation args.

1 Like

Exactly what I was looking for, but haven’t found it in the docu. Thanks for hinting me to the right page


@m.hnat you can set it for each derivative
derivatives.blogListingImage = {
permissions = “inherit”
, transformations = [ { method=“resize”, args={ width=350, height=200, quality = “highQuality”, maintainaspectratio=true } } ]
};