Closed lukasbestle closed 2 weeks ago
About the method order: I agree it would be good to use a consistent pattern in the whole team. What I like about having public
methods first is that it allows to see at a glance what I can do with a class. Whereas finding a specific method is easy with Cmd-R
in VS Code and similar tools in other IDEs.
Description
Summary of changes
KeyCdn
class for image processing paramssmart
algorithm that tries to pick a focus point that may or may not match what we want)cdn()
helper that was only used internally in the CDN pluginReasoning
KeyCdn
class if needed, I've started with the most common ones we already support with ImageMagick)Additional context
Relevant docs: https://www.keycdn.com/support/image-processing