Recursion limit exceeded in ReplaceImageValue

Hi everyone. I’m having a problem with a built-in function that I haven’t been able to figure out. Using one of the examples from Mathematica’s documentation on ReplaceImageValue function, I’m getting a Recursion limit exceeded, even after setting the recursion limit to infinity. Does anyone have an idea of how to avoid getting this kind of errors? I’m using Mathmeatica 12.2 on Windows 10. Attached is the notebook use to generate the image below (The images used are quite small, just 120x79 pixels) . Thanks for your help.

for_the_forum.nb (222 KB)

Hi Juan,

Reproducible on 12.2.0 for Mac OS X x86 (64-bit) (December 12, 2020). Looks like a bug, you should report it to Wolfram Support.

Hi Rohit, thanks for the quick reply. Will report it then.