Are there any additional options/attributes required in order to get the equalize filter to work? #359
-
Hi, I'm testing out some of the thumbor filters in v6 of the serverless image handler at the moment and it appears that equalize isn't working for me. I'm wondering if this filter requires some additional parameters in order to work or if this is a bug? Cheers! Edit: Included version of serverless image handler |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I don't think it does anything to be honest, looking at the code here I can see its set the |
Beta Was this translation helpful? Give feedback.
-
We are adding this to our backlog to investigate and will reply. |
Beta Was this translation helpful? Give feedback.
-
@T4VincentF From some limited testing it does look like there is a bug in the handling of this. Adding your report to our backlog. Thanks for reporting this. |
Beta Was this translation helpful? Give feedback.
-
@T4VincentF @Furytron After more investigation into this, it is not a bug. The Serverless Image Handler includes a thumbor style interface in the api but maps those to comparable sharp library calls. For the thumbor equalize filter that is the sharp normalize function. |
Beta Was this translation helpful? Give feedback.
@T4VincentF @Furytron After more investigation into this, it is not a bug. The Serverless Image Handler includes a thumbor style interface in the api but maps those to comparable sharp library calls. For the thumbor equalize filter that is the sharp normalize function.
It may not produce exactly the same result but is the closest match in sharp.
We added a story to our backlog to update the documentation to clarify how this works.