File -> New, then copy from wherever (CTRL-C, or right-click -> Copy), then paste into Photoshop (CTRL-V). Or you could just drag the image into Photoshop, it will open fine then. And then do Image -> Image Size and turn off the "Constrain Proportions" checkbox, then type something like 512 into both the Width and Height…