To change default image editor on registry :
HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command
example : "E:\Programs\Paint.NET\PaintDotNet.exe" "%1"
As it implies it changes the program that is executed when i you click edit on shell