Friday, 15 May 2015

android - How to scale Movie graphic/animated GIF? -


Is there a movie graphic scale possible, which is an animated GIF?

  InputStream = Context.getResources (). OpenRawResource (R.drawable.myGif); MyMovie = Movie. Is decodeStream (); MyMovie.draw (canvas, ...);   

I am adding my GIF to the canvas. I have read that I can use it:

  canvas.scale ();   

But this scales the entire canvas, I want to scale the movie graphic?

Is this possible?

Try:

  canvas.save () canvas.scale (....) // Drag the canvas canvas. Restore ()    

No comments:

Post a Comment