Decode .mri files you might have found on MangaRock. As with other image formats, just import the package.
$ # Convert an image to PNG:
$ mri image.mri image.png
$
package main
import (
"image"
"log"
_ "github.com/bake/mri"
)
func main() {
// ...
img, _, err := image.Decode(r)
if err != nil {
log.Fatalf("could not decode .mri: %v", err)
}
// ...
}