method

transform

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Transformer
transform(file, format:) public

Applies the transformations to the source image in file, producing a target image in the specified format. Yields an open Tempfile containing the target image. Closes and unlinks the output tempfile after yielding to the given block. Returns the result of the block.

Show source
Register or log in to add new notes.