saving 16bits composite images as PNG/JPEG - change of behavior
Posted by Mathieu Marchand on Feb 22, 2010; 8:20pm
URL: http://imagej.273.s1.nabble.com/saving-16bits-composite-images-as-PNG-JPEG-change-of-behavior-tp3689257.html
Hello,
I have noticed a change of behavior when saving 16bits composite
images in PNG or JPEG.
It used to convert first into RGB before saving them (tested on v1.42q).
It now converts in grayscale before saving them (see the result of the
macro below).
Is this a voluntary change? or some kind of regression / side effect
of another unrelated change in ImageJ?
Best,
Mathieu
run("HeLa Cells (1.3M, 48-bit RGB)");
saveAs("PNG", "/tmp/hela-cells.png");
rename("hela-cells-orig");
open("/tmp/hela-cells.png");
selectWindow("hela-cells-orig");
saveAs("Jpeg", "/tmp/hela-cells.jpg");
open("/tmp/hela-cells.jpg");