fixed resize function, application now resizes dpi and saves image with kira_ prefix