function ShowImage (string foto, int x, int y, float fps, float howmanyframes, bool keepaspectratio, int BackgroundColor, bool DvdMode, bool AspectRatio43) {


 keepaspectratio==true ? Eval("""
   Import ("..\Functions\Function.ShowImageWithCorrectAspectRatio.avs")
   VideoFoto=ShowImageWithCorrectAspectRatio (foto, x, y, fps, howmanyframes,BackgroundColor,DvdMode,AspectRatio43)
 """) : Eval("""
   VideoFoto=ImageSource(foto, 0, howmanyframes, fps, use_DevIL=true).BilinearResize(Round(x/4)*4 ,Round(y/4)*4).ConvertToRGB32.killaudio
 """)
 


 VideoFotoAudio=BlankClip(VideoFoto, audio_rate=44100, stereo=true,sixteen_bit=true).ResampleAudio(44100).ConvertAudioToFloat
 AudioDub(VideoFoto,VideoFotoAudio)
 mix=AudioDub(VideoFoto,VideoFotoAudio)
 return mix
    
 #old
 #audio = WavSource("..\Sounds\silence.wav").ConvertAudioTo16bit #BUGGY !!!
 #mix=AudioDub(VideoFoto,audio).ConvertToYV12
 ##audio=Tone((howmanyframes/fps)+1, 440, 44100, 2, "silence", 1.0).ConvertAudioTo16bit  

 }