You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #20@timjb mentioned the following issue regarding the floodFill function:
Mask matrix support is still missing. I propose adding an argument of the following type to floodFill:
dataFloodFillMaskshape=FloodFillNoMask
| FloodFillMask (MutMat (TwoLargershape) ('S 1) Word8 (PrimStatem))
typefamilyTwoLarger::DS [DSNat] ->DS [DSNat] whereTwoLarger 'D = 'D
TwoLarger ('S '[w, h]) = 'S [PlusTwow, PlusTwoh]
typefamilyPlusTwo::DSNat->DSNatwherePlusTwo 'D = 'D
PlusTwo ('S n) = 'S (n+2)
Another issue: When using the FLOODFILL_MASK_ONLY flag, the image matrix can be immutable, since only the mask is written (and we don't need to ask the user for a fill color in this case). Maybe there should be a separate function for that usecase.
The text was updated successfully, but these errors were encountered:
In #20 @timjb mentioned the following issue regarding the
floodFill
function:Mask matrix support is still missing. I propose adding an argument of the following type to floodFill:
Another issue: When using the
FLOODFILL_MASK_ONLY
flag, the image matrix can be immutable, since only the mask is written (and we don't need to ask the user for a fill color in this case). Maybe there should be a separate function for that usecase.The text was updated successfully, but these errors were encountered: