I am creating a 16-bit JPG file using IMWRITE:
X = uint16(65535 * rand(1024,1024)); imwrite(X,'noise.jpg','jpeg','BitDepth',16,'Quality',100);
However, I can only access and use the file in MATLAB. All other programs outside MATLAB recognize the file as corrupt.
Best Answer