How to flip an image horizontally


#1

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?


#2

Why not use CSS?


#3

Thank you, I just had no idea.


closed #4

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