Re: [Scilab-users] saving an image as b/w image

2020-07-12 Thread Chin Luh Tan
Hi, I have not dive into different image formats but base on previous experience, i believe Stephane was right about this. So far when dealing with different bits per pixel, tif could be the way to go. The tif created by imwrite would be able to read by imread without any issue.  ps: In

[Scilab-users] saving an image as b/w image

2020-07-10 Thread P M
Dear Experts, I try to save a black/white image as a binary image. That means: An image with bit depth of 1. "imwrite" from IPCV however seems to save the image at least as a 8-bit-image. The array I want to save as an image consists of "0" and "1" only. The output file type must be ".jpg".