ace
ace

Reputation: 305

Ruby Gem to generate custom Text over Image Banner

I have a slider which shows some custom made images on the main site. At the moment every time I want to change something I need to deploy a new image with the changed text.

I was wondering if there is a gem which can be settled up to put some custom text over a default image if several conditions are met.

Upvotes: 0

Views: 243

Answers (1)

Stewart
Stewart

Reputation: 3161

To do any kind of programatic image manipulation I would look at imagemagick. Think of photoshop in an open source binary. As imagemagick has been written in C you will not be able to call it directly. Instead use rmagick. Rmagick provides a nice ruby interface around imagemagick's c based API. There might be an updated way to do this as I have not worked with images in ruby for years however it's the best place to start. GL.

Upvotes: 1

Related Questions