Search found 2 matches

by Aezer
2013-04-22T05:15:24-07:00
Forum: Users
Topic: splitcrop and transparency
Replies: 2
Views: 2514

Re: splitcrop and transparency

That works perfectly,
Using RMagick:

Code: Select all

img.virtual_pixel_method = Magick::TransparentVirtualPixelMethod
Thank you !
by Aezer
2013-04-22T03:47:31-07:00
Forum: Users
Topic: splitcrop and transparency
Replies: 2
Views: 2514

splitcrop and transparency

Hello, I want to crop an image into a mosaic of many tiles of the same size. My problem is when a tile exceeds the width (or the height) of the image of origin, I want the tile to be completed with transparency (preserving the fixed size). Up to now i use the method 'excerpt'. For exemple the code ...