save funtion for imag_buffer and image_float

Added rule to ignore jpeg files.

Signed-off-by: Diogo C. Luvizon <diogo@luvizon.com>