Welcome to our Support Center

Write PNG File

Description

Writes an image to a file in PNG format. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8 and RGB.
File Path : path, file path (PNG).
Compression Rate : integer,
file compression rate where 9 is the highest compression value.

Output parameters

 

Image Dst : class
Succeed? : boolean, true if the operation is successful.

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install TIGR library to run it).

Table of Contents