Rotate images before storing them so that rotation for reading is always 0.

This also fixed the filmstrip loading slowness issue.

Change-Id: I920f5f136576c6812522d99bfed5063357593206
2 files changed