Class: ActiveStorage::HotCell::Server::Transformers::Image::Magick

Inherits:
MagickOperation show all
Includes:
ActiveStorage::HotCell::Server::Transforming
Defined in:
lib/active_storage/hot_cell/server/transformers/image/magick.rb

Overview

What ActiveStorage::Transformers::ImageMagick does, moved out of the application: the same source(file).loader(page: 0).convert(format).apply(operations) pipeline, run through ImageProcessing::MiniMagick.

The transformation allowlist Rails' ImageMagick transformer enforces — supported_image_processing_methods and the argument blocklist — runs on the client, where an application's Rails configuration applies today, and is deliberately not repeated here. ImageProcessing still refuses a name that is neither one of its operations nor a MiniMagick method, so :system and friends cannot reach magick.

Constant Summary

Constants inherited from Operation

Operation::CONTENT_TYPES

Method Summary

Methods included from ActiveStorage::HotCell::Server::Transforming

#perform