Jelly, (削除) 40 (削除ここまで) 3925 bytes
FQ)©,Ɱ€ṁ@\/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢẊ€+ZE€ẸƊ¿iⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.
Jelly, (削除) 40 (削除ここまで) 39 bytes
FQ)©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.
Jelly, (削除) 40 (削除ここまで) 25 bytes
FQ),ṁ@\/Ẋ€+ZE€ẸƊ¿iⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.
Jelly, 40(削除) 40 (削除ここまで) 39 bytes
FQ$€©FQ)©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.
Jelly, 40 bytes
FQ$€©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.
Jelly, (削除) 40 (削除ここまで) 39 bytes
FQ)©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.
Jelly, 40 bytes
FQ$€©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ
A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.