Krita is a free and open-source raster graphics editor designed primarily for digital art and 2D animation.
and it shows... good for my sort of work, but not a photo editor

as for gimp, not used it for ages but it always struck me as the 'inkscape equivalent' of raster

both useful in their own ways, but no substitute for photoshop, only affinity comes close...