06-25-2013 03:19 PM
Hey folks,
As the title suggests, I have a bunch of gifs in a directory structure that I wanted to put together some nested loops to have LV navigate the structure and resize each gif if it is greater than a given file size- I don't need to view the gif in LV, but I do need the gif to work in other apps after it's been resized- Does anyone have experience with this type of operation?
I'm not looking for code, but if you could point me in the right direction I'd very much appreciate it! kudos for any info...
Thanks!
-pat
ps- using LV 2011....
06-25-2013 04:25 PM - edited 06-25-2013 04:33 PM
Hi,
there does exit a "Write GIF File.vi" in Labview>vi.lib>picture>gif.llb, but as it is protected you can't look on the block diagram;
but here is an unprotected "read from gif.vi" in Labview 71. The VIs work in LabView 2012 Sp1.
You can address each frame of an animated gif via "image index", I tested this feature with http://i.imgur.com/UmpOi.gif
Regards,
Alex
06-25-2013 04:32 PM
06-25-2013 05:50 PM
Thank you very much! I will be getting to this later tonight but right now I'm struggling to even get my new install of LV at home to match my prefs at work....
-pat