I dont use photoshop, I use a Corel based product, which used to be Ulead Photo Impact.
The photos come out pretty decent even if I enlarge or compress the size.
All I did was research which of the lowest version I could upgrade, spent 14.99 on that software and then, purchased an upgrade and it works great for photos.
overall I think I spent like 40-45 bucks. The Ulead (now Corel) product line has been a good product for me over the past few decades.