문제

I have an image original with 700x500 and 50kb file size.

How to prevent losing its quality when using CDN -/resize/800x/-/stretch/off/ api, if there is already a small file size?

도움이 되었습니까?

해결책

You can try /quality/best/ CDN URL modificator.

From Uploadcare documentation:

/quality/:mode/

Set quality of result image. If not specified, mode normal is used. In most cases this is just fine. But if you prefer image quality over page loading speed you can use /quality/better/. Has no effect on non-jpeg images.

Mode can be normal, better, best.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top