This code was written following the functional paradigm of programming.
The program allows the manipulation of pre-defined images in several ways via the implementation of Abstract Data Types:
- ADT-Image
- ADT-PixBIT
- ADT-PixHEX
- ADT-PixRGB
In addition to those files, there is a file called "testing-script" with some examples of image manipulation.
Also, is it possible to find a "random-examples" file with different functions that stick to the functional paradigm.
Program functions:
- ADTs (program separated by ADTs)
- ADT-Image | Constructor
- ADT-Image | bitmap?
- ADT-Image | pixmap?
- ADT-Image | hexmap?
- ADT-Image | compressed?
- ADT-Image | flipH
- ADT-Image | flipV
- ADT-Image | crop
- ADT-Image | imgRGB -> imgHEX
- ADT-Image | histogram
- ADT-Image | rotate90
- ADT-Image | compress
- ADT-Image | edit
- ADT-Image | invertColorBit
- ADT-Image | invertColorRGB
- ADT-Image | adjustChannel
- ADT-Image | image -> string
- ADT-Image | depthLayers
- ADT-Image | decompress
(13/20) Implemented
Following these steps, anyone will be able to use/run this program
Windows installation:
-> Install DrRacket
On Windows:
Clone the project
-> Open with DrRacekt the file that you want to run (try with the testing script)
-> Click the run button on the top right corner
-> Do Suff!
Check the other versions of S.I.E. in different paradigms!
- Prolog Version | (16/18) Implemented features.
- Java Version | (20/20) Implemented features.