octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43505] build gm with quantum-depth=16 in mxe


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #43505] build gm with quantum-depth=16 in mxe octave
Date: Wed, 25 Nov 2015 21:50:03 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Follow-up Comment #26, bug #43505 (project octave):


Results:


>> gray  = randi (255, 10, 10, 1, "uint8");
warning: randi: maximum integer IMAX or range exceeds requested type.  Values
might be
 truncated to requested type.
warning: called from
    randi at line 109 column 7
>> save ("data-beforejava-written.dat", "gray");
>> imwrite (gray, "data-beforejava.tif");
warning: your version of GraphicsMagick limits images to 16 bits per pixel
>> [r, cmap, a] = imread ("data-beforejava.tif", "Index", "all");
>> save ("data-before-read.mat", "r", "cmap", "a");
>> isequal (gray, r)
ans =  1
>> jobj = javaObject ("java.lang.StringBuffer");
>> imwrite (gray, "data-afterjava.tif");
>> [r, cmap, a] = imread ("data-afterjava.tif", "Index", "all");
>> save ("data-afterjava-read.mat", "r", "cmap", "a");
>> isequal (gray, r)
ans = 0


files attached


(file #35551, file #35552, file #35553, file #35554)
    _______________________________________________________

Additional Item Attachment:

File name: data-afterjava.tif             Size:0 KB
File name: data-beforejava.tif            Size:0 KB
File name: data-afterjava-read.mat        Size:0 KB
File name: data-beforejava-written.dat    Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43505>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]