Your example was GIMP with a polished UI. AFAIK, GIMP is licensed under the GPL so your resulting version will be subject to the GPL. Both of your examples involve software under non-GPL licenses.