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
精彩评论