Skip to content

pedro-vale/photoshop-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PPM image format manipulation.

Description

This project was done for a university assignment for Princípios de Programação course.

Build project

$ stack build

Run project

$ stack exec -- photoshop-haskell <input_file> <output_file> <flags>
Arguments Description
input_file Input file name.
output_file Output file name.
flags Flags to select modifications to be applied on image.
Flag name Description
-fh Horizontal flip
-fv Vertical flip
-gs Gray scale
-rc Red scale
-bc Blue scale
-gc Green scale
-hw Crop half width
-hh Crop half height

Run example

$ stack exec -- photoshop-haskell ./assets/input.ppm output.ppm -fh -gs -hw

About

Image manipulation on ppm images using Haskell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published