Updated: Comment #0
Part of #2105863: [meta] Images, toolkits and operations. This was stated first time in #2103635-21: Remove effects from ImageInterface.
Problem/Motivation
Image processing has now several layers of abstraction:
Level | Class | Effect/operation method | Abstraction |
---|---|---|---|
Image style | ImageEffectInterface | applyEffect() | Toolkit agnostic |
Image | ImageInterface | apply() | Toolkit agnostic |
Toolkit | ImageToolkitInterface | apply() | Toolkit dependent |
Toolkit operation | ImageToolkitOperationInterface | apply() | Toolkit dependent |
The higher image style level has a different naming from the others.
Proposed resolution
Unify naming by renaming ImageEffectInterface::applyEffect()
to ImageEffectInterface::apply()
.
Remaining tasks
N/A
User interface changes
No changes.
API changes
Renamed ImageEffectInterface::applyEffect()
to ImageEffectInterface::apply()
.