0

I'm using this library for loading Images. What I want to know is if it is possible to get a Ken burns effect going using that library? Maybe an easy and straightforward way to do it?

Update

how about creating a ken burns effect gif and loading as gif, do you think thats a good idea?

I know how to do this using some other libraries, like KenBurnsView etc, what I wanted to know was if its possible with Glide and if using Gif with glide is better or worse than creating my own custom animation and adding it as the animator to glide

Bhargav
  • 8,118
  • 6
  • 40
  • 63
  • Probably not easily or straightforward. It would require a zoom animation after the image has loaded. – OneCricketeer Mar 04 '16 at 05:04
  • @cricket_007 how about creating a ken burns effect gif and loading as gif, do you think thats a good idea? – Bhargav Mar 04 '16 at 05:07
  • That is one alternative, sure. You would have to first make that using some other software, though, and it would repeatedly loop like all GIFs do. – OneCricketeer Mar 04 '16 at 05:09
  • you can look here http://stackoverflow.com/questions/23680066/implementation-of-kenburns-effect-on-android-with-dynamic-bitmaps-setting – King of Masses Mar 04 '16 at 05:12
  • @cricket_007 but is it a good idea, memory usage wise? – Bhargav Mar 04 '16 at 05:14
  • @KingofMasses I know how to do this using some other libraries, like KenBurnsView etc, what I wanted to know was if its possible with Glide and if using Gif with glide is better or worse than creating my own custom animation and adding it as the animator to glide – Bhargav Mar 04 '16 at 05:16
  • A Gif would require significantly less work IMO – OneCricketeer Mar 04 '16 at 05:27
  • @cricket_007 yes, but performance wise which is better though? because I don't want to face any out of memory issues – Bhargav Mar 04 '16 at 05:30
  • You are animating an image, so there shouldn't be an out of memory... The Gif will probably be larger than a raw image unless you do some file-compression, but not large enough to cause out of memory. – OneCricketeer Mar 04 '16 at 05:33

0 Answers0