module ChunkyPNG::Canvas::Operations
def trim(border = pixels.first)
- See: #trim! -
Returns:
-
(ChunkyPNG::Canvas)
- The trimmed image.
Parameters:
-
border
(Integer
) -- The color to attempt to trim.
def trim(border = pixels.first) dup.trim! end