It's a good thing when users provide edits to make posts more readable and giving them the two points as reward is a good motivation. One might argue making code images visible instead of just having the "Enter image description" or "My code" link is an improvement, however code images are discouraged, so the edit might well be evaluated as non-constructive and thus worth rejecting. (I'd select "causes harm" and write a heart-warming apology to the editor explaining that asking the user to replace the image with text is a requirement for an acceptable question.)
I'd stay clear of asking anyone except the OP to replace the image with code since he or she might have the possibility to copy-and-paste it exclusively.