10-03-2008 10:14 AM
When I wish to use an animated GIF, I let windows do the busywork by creating the animated GIF using
http://www.blumentals.net/egifan/
and then importing it to the clipboard for using in a boolean or ring
or whatever. Gives me excellent<> control over sequencing,
transparency, etc.
10-06-2008 11:39 AM - edited 10-06-2008 11:40 AM
Mike...
I figured out it probably wasn't a problem with the size... i assumed size since the first few images that had a problem had relatively large dimensions. I still haven't found the exact cause but i believe the particular file i wanted to work with wasn't saved/formatted properly or wasn't exactly following the gif89a standards... in my opinion i think there was something wrong with the color pallete on the gif file.
Find attached two gif files in question...
I was able to get around the problem by uploading the image to www.online-image-editor.com and then resaving it. I noticed on there it said "Colors: Unknown" and even MATLAB reads the image wrongly (reads white 255 255 255 as 225 225 225).
All in all i'd say it works perfectly (maybe not forgiving) and is pretty fast at acquiring frames.
Tutu
10-22-2008 02:07 AM - edited 10-22-2008 02:11 AM
In addition to the work already posted, there's a multi-image GIF writer on the forum here! (see posted LLB)
During the same time-frame, I wrote a multi-image reader as well (also available from OpenG) please let me know if there's any interest.
Cheers!
10-22-2008 10:32 AM
Hi Mike,
Thanks for the documentation and VI for read .gif files.
I tried to use the VI ( i modify just the version from 89a to 87a)
here's what i got. just the upper part of the file.
10-22-2008 11:52 AM
Hi cmdrb,
i don´t know what you changed, but the difference between 89a and 87a isn´t only the version number.
Mike
10-22-2008 12:06 PM
hi mike,
i attached the gif file which i want to view in a front panel.
i can view it full in any picture viewer, but if i use the vi, i can only view the upper part of it.
if its not the version will be change to accomodate 87a gif, then what else should be modified.
thanks in advance.
10-22-2008 01:44 PM - edited 10-22-2008 01:46 PM
Hi cmdrb,
i will check it tomorrow morning and send you the results.
Mike
10-22-2008 01:46 PM
thanks Mike.
by the way, I am using LV8.2
10-22-2008 01:48 PM - edited 10-22-2008 01:49 PM
Hi cmdrb,
thanks for the immediately replay.
BTW: tomorrow morning is for me in 11 hours.
Mike
10-23-2008 01:29 AM - edited 10-23-2008 01:29 AM
Hi cmdrb,
i found the mistake, it was a type error, i have to convert the i16 numbers before the multiply operation. Please replace the attached vi. I will create a new version of the overall GIF vi´s in the next days and i will also integrate the 87a support. In your case it´s ok to block the version check.
Hope it helps.
Mike