From c054864ba93c24db1326768177968e7fcd8754a9 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Wed, 22 Jun 2022 10:52:20 +1000 Subject: [PATCH] Removed _Check tag from registration output --- coastsnap/photoshop_registration_all_sites.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coastsnap/photoshop_registration_all_sites.jsx b/coastsnap/photoshop_registration_all_sites.jsx index 26a1bcc..2dd31f9 100644 --- a/coastsnap/photoshop_registration_all_sites.jsx +++ b/coastsnap/photoshop_registration_all_sites.jsx @@ -297,9 +297,9 @@ function exportLayersToPNG(target_width, target_height, batch_images_to_register var name_updated = name; // COMAPRE THE DIMENSIONS OF THE ALIGNED IMAGE WITH THE TARGET // IF SIGNIFICANT DIFFERENCE (30%), TAG IMAGE WITH '_CHECK.jpg' - if((aligned_image_width/target_width) < 0.7 || (aligned_image_height/target_height) < 0.7) { - name_updated = name.slice(0,-4) + '_CHECK.jpg'; - } + // if((aligned_image_width/target_width) < 0.7 || (aligned_image_height/target_height) < 0.7) { + // name_updated = name.slice(0,-4) + '_CHECK.jpg'; + // } saveLayer(el.layers.getByName(name), name_updated, oldPath, false); }