thats because u used a 128 flat u need a 512 flat.
the image isn't a vector so the scaling is going to cause problems
you can't scale a non vector image without quality loss in order for 512 quality the image you are uploading will have to have a native resolution of 512*512
yes, you need to native resolution to be 512x512, so scale it to 512x512.