title: Rotate an image in Android instantly (or almost)
body: <p>I develop with Codename One and know how to rotate an image.</p>
  <p>The problem is that the rotation of a photograph as returned by the camera or gallery (i.e. at maximum resolution) takes a variable time (about 5 seconds or more) on my Samsung Galaxy A20 (Android 10).</p>
  <p>When I talk about rotations, I always refer to rotations of 90 degrees or multiples of 90 degrees.</p>
  <p>I hope there are more efficient ways to rotate a high resolution image, e.g. by having the GPU do the work rather than the CPU. That's why I ask you Android programmers: do you have a code that can rotate a high-resolution image instantly or almost instantly?</p>
  <p>As regards Codename One, for those who don't know it, it is possible to use native Android code, that's why I'm addressing you.</p>