Portability | portable |
---|---|
Stability | experimental |
Maintainer | fuuzetsu@fuuzetsu.co.uk |
Safe Haskell | None |
- displayImage :: Image -> IO ()
- printHelp :: IO ()
- viewFromFile :: FilePath -> IO ()
- viewFromLink :: String -> IO ()
- viewGuess :: String -> IO ()
Documentation
displayImage :: Image -> IO ()Source
Takes Image
and spawns a window which displays it. It does not do any
scaling and such. You can kill the window with ‘q’.
viewFromFile :: FilePath -> IO ()Source
Opens FilePath
from a file. Exits with 2 if the file doesn't exist.
viewFromLink :: String -> IO ()Source
Opens a passed in URL if possible. Exits with 2 if a download problem occurs.