method
transform
rails latest stable - Class:
ActiveStorage::Variation
transform(file, &block)public
Accepts a File object, performs the transformations against it, and saves the transformed image into a temporary file.
transform(file, &block)Accepts a File object, performs the transformations against it, and saves the transformed image into a temporary file.