ConfigInMemory_1.00SubItemqq@DKSubItem\Description[0409]Replace all pixels matching the source color.[0405]Nahradit vaechny pixely zvolen barvy.SubItem\IconIDsi!W G `(SubItem\Name[0409]Replace color[0405]Nahradit barvuSubItem\Operationu0CNnSubItem\Operation\EXEScriptvar src = UserInterface.GetColorValue("src"); var dst = UserInterface.GetColorValue("dst"); for(x=0; x<RasterImage.sizeX; x++) { for(y=0; y<RasterImage.sizeY; y++) { if (RasterImage.GetPixelAlpha(x, y, 0, 0) != 0) { if (RasterImage.GetPixelColor(x, y, 0, 0) == src) RasterImage.setPixelColor(x, y, 0, 0, dst); } } }SubItem\Operation\GUIScriptUserInterface.AddColorField("src", UserInterface.LocaleID == 0x0405 ? "Povodn" : "Original", 0); UserInterface.AddColorField("dst", UserInterface.LocaleID == 0x0405 ? "Nahradit" : "Replace by", 0xffffff); UserInterface.DialogCaption = UserInterface.LocaleID == 0x0405 ? "Nahradit barvu" : "Replace Color";(SubItem\Operation\ScriptConfigsrc=0000ff;dst=00ff00;@SubItem\ShortcutK