<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto">Is there a way to use libav to encode and decode a single frame of</div>
<div style="RIGHT: auto">image data with a lossless codec such as ffvhuff?  I know this can</div>
<div style="RIGHT: auto">be done with video.  But if I have a single frame of image data stored</div>
<div style="RIGHT: auto">in a ppm or pnm file, can I read it into my libAV program, compress with</div>
<div style="RIGHT: auto">the ffvhuff codec, and then write the compressed output to a file?  And</div>
<div style="RIGHT: auto">later, do the reverse?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><VAR id=yui-ie-cursor></VAR> </div></div></body></html>