开发者

Make image transparent in ruby

I was wondering if anyone could suggest to me potential libraries in ruby for manipulating jpe开发者_运维百科gs? Specifically I want to make the image 50% transparent so it can act as an overlay. The image in question would be of a house and I'd like it to overlay a village image.

Just being specific about the image as the transforms may not like multiple colours :)


Take a look at RMagick. This tutorial features transparency/opacity.

Best wishes,
Fabian


Check out RMagick

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜