Pyglet.image.ImageGrid() – indexing from top left

there.

Using pyglet.image.ImageGrid(), is there any way to start off the grid from the top left, instead of the bottom left?

Answer

So, the only ‘awfull’ solution I currently have is:

  1. To verticaly flip the image on the drive
  2. Load the image as a texture and flip it back with get_texture()
  3. Put it into an ImageGrid()
  4. Reverse() the ImageGrid-sequence

Leave a Reply

Your email address will not be published. Required fields are marked *