equal
deleted
inserted
replaced
116 const char *img_path = argv[i]; |
116 const char *img_path = argv[i]; |
117 |
117 |
118 log_debug("Loading image from: %s...", img_path); |
118 log_debug("Loading image from: %s...", img_path); |
119 |
119 |
120 // open |
120 // open |
121 if (pt_image_open(&image, ctx, img_path, PT_IMG_WRITE)) { |
121 if (pt_image_open(&image, ctx, img_path, PT_OPEN_UPDATE)) { |
122 log_errno("pt_image_open: %s", img_path); |
122 log_errno("pt_image_open: %s", img_path); |
123 continue; |
123 continue; |
124 } |
124 } |
125 |
125 |
126 log_info("Opened image at: %s", img_path); |
126 log_info("Opened image at: %s", img_path); |