the original file works perfectly when I display it inside the game, but the second picture has like anti-aliasing issues
Yeah but not at that size/zoom im bettting.
Vector is non pixel based lines and pixel are pixels xD
Illustrator for instance is a vector based program
Edit : (Just found this on internet)
First, look at filetype. JPG, PNG, TIFF literally cannot be vector. Supposing the file has changed type beforehand, and you want to see if at any point in the past it was vectorised; look for wonky, surprisingly high-quality lines. The automatic vectorization filters will remove pixelation and most artifacts, but are bad at accurately depicting corners or complex shapes. Also pay attention to gradients or natural fades between colors, as vectorisation will usually simplify the transition into noticeable chunks of color. Conversely, if there is a gradient (usually added manually), it will be smoother and less textured than that of a photograph. Overall, look for super-sharp edges, gooey angles, and simple colors; if all of the above, something that was raster was at some point touched by vector.
So png is always pixel based/raster however it couldve been vector based before. Gimp is to my knowledge also pixel based so converting it back messes up the line work mostly (as that appears to be vector based at some point judging by the cleanliness of the lines) it seems.
That's my best guess anyway