Open main menu

CDOT Wiki β

Changes

BLAStoise

106 bytes added, 11:57, 12 February 2017
Assignment 1
However there have been some changes to make testing and profiling slightly easier. (Mainly changes are putting the for-loop logic into a function outside of the main and modifying for command line arguments instead of hard coding values.)
 
'''Running the program'''
To profile the program, run this command.
$
 
Run the code with
 
$ "OilPaint" 5 20 filename.jpg
 
Output
[[File:[]][[File:]]
The time required for the program depends largely on the file size being converted. Around 5 seconds for a 50KB image and 100 seconds for a 1MB image. It depends on the brush size and intensity levels as well.
 
'''Analysis'''
23
edits