02-23-2017 07:09 AM
Hi, isf there is a way to turn a folder of png files (labelled 0-x in order) into a gif within labview?
I have searched around the topic and found that there are websites that can do this. I also came across recommendations for external programs that can do it (with a command sent to them through LabVIEW).
I'd prefer to be able to do it internally on LabVIEW - any ideas?
Thanks!
02-23-2017 07:20 AM - edited 02-23-2017 07:28 AM
Hello cna,
you can try the example in the last post
Pixelmap or image from 3D Control?
also interesting
How Do I Create an Animation Using a Picture Ring Control in LabVIEW?
02-23-2017 09:04 AM
Hi , thanks for the reply.
In the first link I downloaded the exmaple llb but can't quite figure out what is going on?
The second doesn't seem like it would suit my needs as it has a lot of labour.
To elaborate: I have my code getting and saving the image of a graph (iterating through files) to a folder. Currently I can then upload these files to a site and get an animated gif out of them.
Cheers
02-23-2017 09:23 AM
Hello cna,
the Util.Pic.GIF.Write.vi is the interesting VI here you can add the Option to load the png files
02-23-2017 10:02 AM
Hi Duffy, thanks for pointing that out! I'll give it a go.
02-23-2017 11:21 AM
Hmm,
I've got the library loaded in my project. But when I pass an array of image data to the main write VI, it gives an error that the first file should have a colour table or something along those lines?
Have you ever used the VI's and got a similar error?
I'll keep fiddling around in the meantime
02-23-2017 01:58 PM - edited 02-23-2017 02:08 PM
Hello cna,
i have then tried this example which works
also in vi,lib:
vi.lib\picture\gif.llb\Write GIF File.vi
but it doesn't support animation.