x

Open in Github Open in StackBlitz
@twicpics-components
Documentation

preTransform property

preTransform is a slash-separated list of TwicPics API transformations that perform before the automatic resizing of the image.

You can check the TwicPics documentation to see the list of API transformations.

If you set the focus property, it will apply before all transformations of the preTransform property.

Be aware that using preTransform can lead to unexpected results, so use with caution!

No preTransform
preTransform="crop=600x400"
focus="100px100p" and preTransform="crop=1400x1200"
preTransform="flip=x"