public int[] GetFramePosition(int frame) { GifFrame gf = frames[frame - 1]; return new int[]{gf.ix, gf.iy}; }