/// <summary>
/// writes a jpg formated image from imInfo.getIm() into imInf.getPath()
/// ****** IF EXISTS, WILL OVERWRITE THE imInf.getPath() image *******
/// </summary>
/// <param name="imInf">the wanted image to save im imInf.getPath() </param>
public static void writeImage(ImageInfo imInf)
{
writeImage(imInf.getPath(), imInf.getIm());
}