moderna / ma-image-resize-tool

An generic image resizing tool based on node.js
MIT License
3 stars 1 forks source link

Image resize stops (endless loop) if unknown alias is used #9

Closed geo-at-github closed 7 years ago

geo-at-github commented 8 years ago

I used an alias in the target path which was not defined yet. It didn´t show an error message. Instead it just halted at the first "Resizing ..." command.

The use config was: { "aliases": [

        { "name": "<language>", "value" : ["en","de"] },
        { "name": "<extensions>", "value": "{png,jpg,jpeg}" },

        "// SOURCE",

        { "name": "<source-screens>", "value" : "./_screens" },
        { "name": "<source-icons>",   "value" : "./_icons"   },
        { "name": "<source-promos>", "value" : "./_promos" },

        "// TARGET",

        "Apple-AppStore icons",
        { "name": "<target-apple-appstore-icons>", "value" : "../target/apple-appstore/<language>/icons" },
        "Apple-AppStore screens",
        { "name": "<target-apple-appstore-screens>", "value" : "../target/apple-appstore/<language>/screens" },

        "Windows-Store icons",
        { "name": "<target-windows-store-icons>", "value" : "../target/windows-store/<language>/icons" },
        "Windows-Store screens",
        { "name": "<target-windows-store-screens>", "value" : "../target/windows-store/<language>/screens" },
        "Windows-Store promos",
        { "name": "<target-windows-store-promos>", "value" : "../target/windows-store/<language>/promos" }
    ],

"optimize":
{
    "optipng" : "",
    "jpgtran" : "-copy none -optimize"
},

"imageMagicParameters" : "-unsharp 1.5x1+0.7+0.02",

"roundCorners" : 0,
"quality" : 75,

"images":
    [
        "// BLACKBERRY - icons",
        { "tags" : "all,blackberry-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-blackberry-icons>/icon-86x86.png",  "resolution":"86x86", "roundCorners": 0.2 },
        { "tags" : "all,blackberry-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-blackberry-icons>/icon-114x114.png",  "resolution":"114x114", "roundCorners": 0.2 },
        { "tags" : "all,blackberry-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-blackberry-icons>/icon-150x150.png",  "resolution":"150x150", "roundCorners": 0.2 },
        { "tags" : "all,blackberry-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-blackberry-icons>/icon-480x480.png",  "resolution":"480x480", "roundCorners": 0.2 },

        "// APPLE_APPSTORE - icons",

        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_22x22.png",  "resolution":"22x22" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_25x25.png",  "resolution":"25x25" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_29x29.png",  "resolution":"29x29" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_44x44.png",  "resolution":"44x44" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_50x50.png",  "resolution":"50x50" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_58x58.png",  "resolution":"58x58" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_60x60.png",  "resolution":"60x60" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_66x66.png",  "resolution":"66x66" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_75x75.png",  "resolution":"75x75" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_76x76.png",  "resolution":"76x76" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_80x80.png",  "resolution":"80x80" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_87x87.png",  "resolution":"87x87" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_120x120.png",  "resolution":"120x120" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_152x152.png",  "resolution":"152x152" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_167x167.png",  "resolution":"167x167" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_180x180.png",  "resolution":"180x180" },
        { "tags" : "all,apple-appstore-icons", "sourcePath" : "<source-icons>/1to1/icon.*",   "targetPath" : "<target-apple-appstore-icons>/icon_1024x1024.png",  "resolution":"1024x1024" },

        "// APPLE_APPSTORE - screens",

        { "tags" : "all,apple-appstore-screens", "sourcePath" : "<source-screens>/16to10/*.<extensions>", "targetPath" : "<target-apple-appstore-screens>/3.5-inch/*.jpg", "resolution":"960x640"   },
        { "tags" : "all,apple-appstore-screens", "sourcePath" : "<source-screens>/16to10/*.<extensions>", "targetPath" : "<target-apple-appstore-screens>/4.0-inch/*.jpg", "resolution":"1136x640"  },
        { "tags" : "all,apple-appstore-screens", "sourcePath" : "<source-screens>/16to10/*.<extensions>", "targetPath" : "<target-apple-appstore-screens>/4.7-inch/*.jpg", "resolution":"1334x750"  },
        { "tags" : "all,apple-appstore-screens", "sourcePath" : "<source-screens>/16to10/*.<extensions>", "targetPath" : "<target-apple-appstore-screens>/5.5-inch/*.jpg", "resolution":"2208x1242" },
        { "tags" : "all,apple-appstore-screens", "sourcePath" : "<source-screens>/4to3/*.<extensions>",   "targetPath" : "<target-apple-appstore-screens>/iPad/*.jpg",     "resolution":"2048x1536" },
        { "tags" : "all,apple-appstore-screens", "sourcePath" : "<source-screens>/4to3/*.<extensions>",   "targetPath" : "<target-apple-appstore-screens>/iPadPro/*.jpg",  "resolution":"2732x2048" },

        "// WINDOWS STORE - icons",

        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_16x16.png", "resolution":"16x16", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_24x24.png", "resolution":"24x24", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_30x30.png", "resolution":"30x30", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_32x32.png", "resolution":"32x32", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_36x36.png", "resolution":"36x36", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_42x42.png", "resolution":"42x42", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_44x44.png", "resolution":"44x44", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_48x48.png", "resolution":"48x48", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_50x50.png", "resolution":"50x50", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_54x54.png", "resolution":"54x54", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_55x55.png", "resolution":"55x55", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_56x56.png", "resolution":"56x56", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_62x62.png", "resolution":"62x62", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_63x63.png", "resolution":"63x63", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_66x66.png", "resolution":"66x66", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_70x70.png", "resolution":"70x70", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_71x71.png", "resolution":"71x71", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_75x75.png", "resolution":"75x75", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_88x88.png", "resolution":"88x88", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_89x89.png", "resolution":"89x89", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_90x90.png", "resolution":"90x90", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_96x96.png", "resolution":"96x96", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_98x98.png", "resolution":"98x98", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_99x99.png", "resolution":"99x99", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_100x100.png", "resolution":"100x100", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_106x106.png", "resolution":"106x106", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_107x107.png", "resolution":"107x107", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_120x120.png", "resolution":"120x120", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_126x126.png", "resolution":"126x126", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_142x142.png", "resolution":"142x142", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_150x150.png", "resolution":"150x150", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_170x170.png", "resolution":"170x170", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_176x176.png", "resolution":"176x176", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_188x188.png", "resolution":"188x188", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_200x200.png", "resolution":"200x200", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_210x210.png", "resolution":"210x210", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_225x225.png", "resolution":"225x225", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_248x248.png", "resolution":"248x248", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_256x256.png", "resolution":"256x256", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_270x270.png", "resolution":"270x270", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_284x284.png", "resolution":"284x284", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_300x300.png", "resolution":"300x300", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_310x310.png", "resolution":"310x310", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_358x358.png", "resolution":"358x358", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_360x360.png", "resolution":"360x360", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_388x388.png", "resolution":"388x388", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_434x434.png", "resolution":"434x434", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_465x465.png", "resolution":"465x465", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_558x558.png", "resolution":"558x558", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_600x600.png", "resolution":"600x600", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_620x620.png", "resolution":"620x620", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_1240x1240.png", "resolution":"1240x1240", "quality" : 0.75 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/1to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_1280x1280.png", "resolution":"1280x1280", "quality" : 0.75 },

        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_1240x600.png", "resolution":"1240x600", "quality" : 0.75 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_744x360.png", "resolution":"744x360", "quality" : 0.75 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_620x300.png", "resolution":"620x300", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_558x270.png", "resolution":"558x270", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_465x225.png", "resolution":"465x225", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_434x210.png", "resolution":"434x210", "quality" : 0.8 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_388x188.png", "resolution":"388x188", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_358x173.png", "resolution":"358x173", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_310x150.png", "resolution":"310x150", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_248x120.png", "resolution":"248x120", "quality" : 1.0 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_1116x540.png", "resolution":"1116x540", "quality" : 0.75 },
        { "tags" : "all,windows-store-icons", "sourcePath" : "<source-icons>/2to1/icon.*", "targetPath" : "<target-windows-store-icons>/icon_wide_868x420.png", "resolution":"868x420", "quality" : 0.75 },

        "// WINDOWS STORE - screens",
        { "tags" : "all,windows-store-screens", "sourcePath" : "<source-screens>/16to10/*.<extensions>", "targetPath" : "<target-windows-store-screens>/store/*.png", "resolution":"1366x768", "quality" : 1.0 },
        "// On some old windows phones (e.g. Nokia Lumia 520) landscape screen are cropped to a protratit aspect ratio.",
        "// That´s why we rotate them to work around that issue.",
        { "tags" : "all,windows-store-screens", "sourcePath" : "<source-screens>/16to10/*.<extensions>", "targetPath" : "<target-windows-store-screens>/phone/*.png", "resolution":"1280x768", "quality" : 1.0, "imageMagicParameters" : "-unsharp 1.5x1+0.7+0.02 -rotate -90" },

        "// WINDOWS STORE - promos",
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/4to3/background-windows.<extensions>", "targetPath" : "<target-windows-store-promos>/background-1000x800.png", "resolution":"1000x800", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos1", "sourcePath" : "<source-promos>/1to1/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-358x358.png", "resolution":"358x358", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/1to1/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-414x468.png", "resolution":"414x468", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/1to1/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-558x558.png", "resolution":"558x558", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/2to1/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-414x180.png", "resolution":"414x180", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/2to1/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-846x468.png", "resolution":"846x468", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/2to1/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-2400x1200.png", "resolution":"2400x1200", "quality" : 1.0 },
        { "tags" : "all,windows-store-promos", "sourcePath" : "<source-promos>/3to4/banner.<extensions>", "targetPath" : "<target-windows-store-promos>/banner-558x756.png", "resolution":"558x756", "quality" : 1.0 }
    ],

"tags" : "windows-store-screens"

}

geo-at-github commented 7 years ago

Now fixed if aliases with "<" and ">" are used. ToDo: Check for invalid paths and reject them with an error message.