Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Bitmap/Octave/bitmap-3.octave
Normal file
8
Task/Bitmap/Octave/bitmap-3.octave
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
%example
|
||||
im = create_rgb_image(200,200);
|
||||
for x = 1:128
|
||||
im = set_pixel(im, [x, x], [200, 50, 220]);
|
||||
endfor
|
||||
|
||||
% it seems like saveimage wants double class on [0,1]
|
||||
saveimage("image.ppm", double(im)./256, "ppm");
|
||||
Loading…
Add table
Add a link
Reference in a new issue