0

In my application, I have one functionality called mosaic image generation.

The detail flow is getting user's facebook profile image as input image. Based on the photo's that was uploaded by the user and their friend's profile pictures are input image.

Based on this i have to form a new "mosaic image".

Here am using ruby on rails application.

Is the any gem's available to form a mosaic image?

Can any one give me the solution.

4

1 回答 1

1

这种马赛克图像生成似乎没有任何直接的宝石/库。但我们可以通过 RMagick gem 来实现它。

使用像素、调整大小、RGB 值等图像的核心属性将输入图像的每个像素替换为其他照片(图块)...

于 2013-09-23T10:10:01.533 回答