I am not exactly sure if I understand your question, but the first thing
which bugs me is the syntax you use for your imwrite. While I do not
remeber if it was different in 3.2 when I run your code in 3.6.1 and use
the following syntax it works to write the image
imwrite(uint8(a),"testing.jpg")
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave