Hi all!
Browsing online 've found a free example of c++ code who reads an AVS and return it as BMP or another format image.
The code will be compiled to a dll to use with python.
I've started browsing from this code of jonny (Doom9.com)
http://jonny.leffe.dnsalias.com/doom9/avs_read.rar

The code says:
Codice:
// HERE:
// AD.p_frame
// Contains the video data (the format can be RGB24, RGB32, YUY2, YV12)



Now, how to write it to a image file?

Thanks for the attention!