-
Notifications
You must be signed in to change notification settings - Fork 351
Added effect transformation for images #3028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added effect transformation for images #3028
Conversation
2b58c0b
to
f445e84
Compare
If you look at the new format I'd say it is strange that there is a line Would look like this: <format key="400x400-effect">
<meta>
<title lang="en">400x400</title>
</meta>
<scale x="400" y="400"/>
<transformations>
<transformation>
<effect>blur</effect>
<parameters>
<parameter name="???">6</parameter>
</parameters>
</transformation>
<transformation>
<effect>greyscale</effect>
</transformation>
<transformation>
<effect>negative</effect>
</transformation>
<transformation>
<effect>sharpen</effect>
</transformation>
</transformations>
</format> |
@danrot ok an own transformer for each effect then? was oriented by image because this function all or part of The blur parameter is called |
@alexander-schranz Yeah, I would say so. I have also seen that the sharpen effect can take two parameters (they are only prefilled with values in |
f445e84
to
9b3809d
Compare
f0098b5
to
69ef33c
Compare
bea3b57
to
f0dbdad
Compare
LGTM. @chirimoya Are the xml definitions ok for you? Then we could merge it. Would say it is also ok to merge into master, since it is only adding a few new options. |
And @alexander-schranz, you should rebase the branch :-) |
f0dbdad
to
f82bbed
Compare
@danrot rebased |
What's in this PR?
Add the imagine effects as sulu image transformers.
Example Usage
Old format:
New format:
TODO