0

I was wondering if anyone could suggest to me potential libraries in ruby for manipulating jpegs? 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 :)

Aify
  • 3,543
  • 3
  • 24
  • 43
Steve
  • 21,163
  • 21
  • 69
  • 92

2 Answers2

2

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

Best wishes,
Fabian

halfdan
  • 33,545
  • 8
  • 78
  • 87
1

Check out RMagick

DanSingerman
  • 36,066
  • 13
  • 81
  • 92