Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

bake/mri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MangaRockImage

GoDoc Go Report Card

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)
  }

  // ...
}

Releases

No releases published

Packages

No packages published

Languages