Is it possible to convert graphics object to image object?
I now design app like a audio player with waveform viewer.
On the current code, waveform is repainted every paint function called
but it is high cpu load.
So, I want to convert Grapchis object to Image object.
If it is possible,
I draw waveform using many lines(strokePath) at the initial time only and
after that I convert the waveform(Graphics Object) to image object.
I want to draw the image object
without redrawing many waveform lines when paint function called.