D | imd.c | 204 char ofile[_POSIX_PATH_MAX]; in rotate_image() local 210 snprintf (ofile, sizeof(ofile), "%s/%s", path, file); in rotate_image() 247 …snprintf(cmd, sizeof(cmd), "djpeg -pnm %s | pnmflip %s | cjpeg -quality 85 > %s", ofile, opt, rpat… in rotate_image() 252 snprintf(cmd, sizeof(cmd), "giftopnm %s | pnmflip %s | ppmtogif > %s", ofile, opt, rpath); in rotate_image() 265 if (link(ofile, nfile)) in rotate_image() 266 return nerr_raise_errno (NERR_SYSTEM, "Unable to link %s -> %s", ofile, nfile); in rotate_image() 267 unlink(ofile); in rotate_image()
|