In Gimp you can use "Image" -> "Scale Image..." and then in a popup window choose "Interpolation" to be "None" and resize e.g. 300% or whatever you like..
In Krita you can use "Image" -> "Scale Image To New Size..." and then in a popup window choose "Filter" to be "Box" and resize e.g. 300% or whatever you like.