I have the following animation that I wish to export as GIF
ac = Table[Graphics[{EdgeForm[Black], LightGray, Polygon[{{0, 0}, {1/\[Lambda], 0},{1/[Lambda],\[Lambda]}, {0, \[Lambda]}} /. \[Lambda] -> t]}], {t, 1, 4,0.1}]; Export["gif.gif", ac, "GIF","DisplayDurations" -> 0.25] but suddenly at the end a black background starts to appear, as shown below. What may be the flaw ?


PlotRangesetting in yourGraphics[]? $\endgroup$PlotRangesetting! $\endgroup$