I got it working now, the code is not complete yet (and contains errors), but the performance is bad :-(
initialization
Color c(0,0,0,0);
imgSkids = new Image(SCREEN_WIDTH, SCREEN_HEIGHT, c);
sprtSkids = Sprite(*imgSkids);
int dim = imgSkids->GetWidth() * imgSkids->GetHeight() * 4;
skidmarks = new Uint8[dim];
for (int i = 0; i < dim; i++)
i % 4 != 0 ? skidmarks[i] = 0 : skidmarks[i] = 255;
called once per frame
sprtCarPos = sprtCar.GetPosition();
Uint8 *pixel = &skidmarks[(int)((sprtCarPos.x + (sprtCarPos.y * imgSkids->GetWidth())) * 4)];
if (ABS(lateralforce_f.y) > ABS(MAX_GRIP))
{
*pixel = 0;
*(pixel+1) = 0;
*(pixel+2) = 0;
*(pixel+3) = 255;
imgSkids->LoadFromPixels(imgSkids->GetWidth(), imgSkids->GetHeight(), skidmarks);
w.Draw(sprtSkids);
}