class ActiveStorage::Transformers::ImageProcessingTransformer

def process(file, format:)

def process(file, format:)
  processor.
    source(file).
    loader(page: 0).
    convert(format).
    apply(operations).
    call
end