How To Embed Image In output file

hello everyone,

i am not well-versed with unix programming, but could you help me on how to embed an image(maybe a bitmap) to the output file?

how about animations(avi, etc)? can this also be embeded to the output?

thanks