Thanks for the replies! tried (with "-alpha off"): convert -endian LSB -depth 32 -define quantum:format=floating-point -size "1024"x"1024"+"8192" gray:au1_6_3085.edf -normalize -alpha off -compress zip try.tif - same result (transparent .tif). Here's the raw image (4.1 MB): https://dl ...
It was Q16, now compiled with Q32, tried again all commands mentioned before - same results: tiff all transparent. "convert -version" gives: Version: ImageMagick 6.8.5-7 2013-10-29 Q32 http://www.imagemagick.org Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC Features: DPC HDRI OpenMP ...
Hello, I've got raw 16 bits unsigned grayscale images with header. I can successfully convert them to "regular" tiff using: convert -endian LSB -depth 16 -size "1024"x"1024"+"8192" gray:try_pic.edf -normalize -compress zip try.tif But I've also got similar grayscale images in 32 bits floating point ...
Now the only problem that remains is to do this to some 400,000 images, some with different header sizes and different dimensions. But I guess it's an off-topic.
Drarakel , thank you very much - the -auto-level option gives exactly the output that I was looking for! I have read about what this option does, but I am not sure that it conserves all the data in the original image. So can I consider my new file lossless after using this option? Another strange ...
OK, compiled and installed the latest version, 6.7.5-5. Now when I do: convert -endian MSB -depth 16 -size 2048x2048+1024 gray:HM1_diffTomo_zone2_LR0001.edf -compress lzw image.tif I get: http://img841.imageshack.us/img841/127/imagegt.png Which is the same as I get in ImajeJ with big endian, and it ...
I use version 6.6.0. With your line, I got the following result: http://img18.imageshack.us/img18/6074/imageit.png Is that what you got? The correct result should look like that: http://img594.imageshack.us/img594/7701/correctu.jpg I got this with ImageJ, little endian option. By the way, ImajeJ ...
Thanks for the fast reply! * The third argument in -size is from the tip here: http://www2.fz-juelich.de/vislab/software/www/convert.html And it actually works, when I indicate "-depth 8" - I get a non-black image, just not the correct form. * changed the placing of -compress: convert -depth 16 ...
Hello, I have a bunch of raw images like this one (about 8M each): http://dl.dropbox.com/u/14434681/HM1_diffTomo_zone2_LR0001.edf They are 2048x2048 in size, "unsigned short datatype", and have a 1024 bytes header. The colors are grayscale. I want to convert them to compressed tif images, so they ...