Change a single pixel in a Texture2d

Hello,
i wanted to generate an image from code and then save it in a folder that worked pretty fine but when i want to change/generate something on it with Texture2D.SetPixel unfortunately this affects other pixels around it as it would glow or blur.

Anyone knows how to just change 1 pixel?
I already searched for hours

SetPixel doesn’t affect any pixels around it. Presumably you’re using bilinear filtering, so change that to point.

–Eric

thank you but i just had to encode it to png instead of jpeg