문제

I am currently using ImageResizer from Imazen (http://imageresizing.net/)

I want to create images with the same dimensions which is easily achieved by adding the www.example.com/example.png?w=150&h=150

however i want to give a bgcolor to the image for background/whitespace color.

again www.example.com/example.png?w=150&h=150&bgcolor=FF00FF works perfectly. However is there a way to make this bgcolor transparant? (ofcourse only for .png's)

I read the docs and couldn't find a plugin or basic functionality that could provide this feature. Does anyone know if (or how) this can be achieved?

도움이 되었습니까?

해결책

Use a 6-digit hex value (RRGGBBAA) to include an alpha/transparency component.

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