static GD CreateGifFrame(int frame) { GD img = new GD(256 + 384, 384, false); GDColor black = img.ColorAllocate(0, 0, 0); GDColor white = img.ColorAllocate(255, 255, 255); GDColor red = img.ColorAllocate(255, 0, 0); img.Rectangle(frame * 5, frame * 5, 50 + frame * 5, 50 + frame * 5, red); return(img); }
static GD CreateGifFrame(int frame) { GD img = new GD(256 + 384, 384, false); GDColor black = img.ColorAllocate(0, 0, 0); GDColor white = img.ColorAllocate(255, 255, 255); GDColor red = img.ColorAllocate(255, 0, 0); img.Rectangle (frame * 5, frame * 5, 50 + frame * 5 , 50+frame*5, red); return img; }