How to generate a fixed size thumbnail without cropping or distorting?
I would like to create fixed size thumbnails of images. The /thumbnail endpoint seems to resize which distorts the image. The /fit endpoint will "fit" the image within the specified target size, but the image may be smaller. The image operations are not really explained in detail.
I would like to call /operation?width=200&height=200&url=https://via.placeholder.com/400x200.png?text=400x200 to get a 200x200 image with "fitted" original content that has the empty space filled with transparency (or a defined background color). Is that possible?
Related #358
Had the same problem, used:/enlarge?width=430&height=430&extend=white&embed=true&nocrop=true&url=http://...
That works for me.