Can I Save 8-bit AVI Files from Vision Assistant?Primary Software: Vision AssistantPrimary Software Version: 7.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have opened several 8-bit images in Vision Assistant's Image Browser and selected some of the images to create an AVI. I know Vision Development Module supports 8-bit and 32-bit AVI files but does Vision Assistant also support these two formats? Solution: No, Vision Assistant only supports the creation of 32-bit AVI files. Even if you have selected 8-bit images to create an AVI from, the resulting AVI will be 32-bit. One way around this is to create the 32-bit AVI in Vision Assistant and convert it to an 8-bit AVI in LabVIEW (shown below). First, a new AVI is created for the 8-bit AVI and the 32-bit AVI is opened outside of the while loop. Then, the first frame is read from the 32-bit AVI and a single color plane is extracted as an 8-bit frame with IMAQ ExtractSingleColorPlane. Finally, this frame is added to the new 8-bit AVI. This is repeated until all frames are converted. Note: For a larger image please see 32bit to 8bit AVI.png in the Attachments section below. ![]() Another option is to create the entire AVI in LabVIEW such that you will not need to do any conversions. Related Links: NI Vision Acquisition Support Community Example: Convert 32bit AVI to 8bit AVI KnowledgeBase 15JEIOU0: How do I Play an AVI File from LabVIEW? KnowledgeBase 30IB6EJT: Vision AVI File Appears Choppy in Windows Media Player KnowledgeBase 39J8G1QX: Writing a Compressed AVI File with the IMAQ Vision Acquisition Software Attachments:
Report Date: 10/30/2008 Last Updated: 08/25/2009 Document ID: 4QTL338Q |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

