How to flip an image horizontally

How to flip an image horizontally or vertically?

What should my approach be?

My guess is that I can try to read the image with “file” api, turn it into a string and then just reverse the string and turn it back into an image.

Would that work?

Why not use CSS?

4 Likes

Thank you, I just had no idea.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.