I would like to take an input image and produce an output which is symmetrical about the central axis, i.e. reflected from right to left about the central vertical axis.
How might this be achieve using renderscript?
I would like to take an input image and produce an output which is symmetrical about the central axis, i.e. reflected from right to left about the central vertical axis.
How might this be achieve using renderscript?
Copyright © 2021 Jogjafile Inc.


You can write a kernel that gets called for the left half of the image (via LaunchOptions), then do something like:
You should be able to to direcetly overwrite your input image, since you only do reading to one side of the image and only do writing to the other side.