Yarhl icon indicating copy to clipboard operation
Yarhl copied to clipboard

Implement API for Images

Open pleonex opened this issue 5 years ago • 2 comments

This API will go under namespace Yarhl.Media.Graphic and it should provide API to implement palette and image based formats. Including indexed image and RGB image. It would be able to export and import PNG files.

Proof-of-concept / Experimental implementation: https://github.com/SceneGate/Texim It has proved to be valid and we could implement several file formats, including the ones from NDS.

TODO:

  • [x] Support sprites in the framework
  • [x] Implement NCER
  • [ ] Validate the framework with 3DS NDS textures
  • [ ] Validate the framework with PS2 graphics (TIM?)
  • [ ] Move the code of Texim between a new library Yarhl.Media.Graphics and Ekona repository
  • [x] Validate the framework with the SceneGate UIs
  • [ ] Implement tests
  • [ ] Add documentation

pleonex avatar Oct 06 '18 19:10 pleonex