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: Carnë Draug
Subject: [Octave-bug-tracker] [bug #43505] build gm with quantum-depth=16 in mxe octave
Date: Wed, 25 Nov 2015 21:38:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.4.0

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

I'm curious if the problem is on the reading or writing of the image. Could
you run the following code:


gray  = randi (255, 10, 10, 1, "uint8");

save ("data-beforejava-written.dat", "gray");
imwrite (gray, "data-beforejava.tif");
[r, cmap, a] = imread ("data-beforejava.tif", "Index", "all");
save ("data-before-read.mat", "r", "cmap", "a");
isequal (gray, r)

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)


And show the output and attach the tif and dat files generated?

By the way, I have fixed the warnings you are getting from randi on my own
tree, and I'm just waiting from Kai to review it before pushing.

    _______________________________________________________

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]