Class: ActiveStorage::HotCell::Server::Transformers::Image::Magick
- Inherits:
-
MagickOperation
- Object
- HotCell::Operation
- Operation
- MagickOperation
- ActiveStorage::HotCell::Server::Transformers::Image::Magick
- 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.