16bit TIFF Files Seem To Be Broken
-
- Posts: 12
- Joined: 2010-06-29T15:22:43-07:00
- Authentication code: 8675308
- Location: Las Cruces, New Mexico USA
16bit TIFF Files Seem To Be Broken
I use IM for sharpening and resizing 16bit files from my scanner. I keep IM up to date via Macports on my macbook pro. A couple of days ago Macports did it's usual thing and updated me to:
Version: ImageMagick 6.7.5-0 2012-02-01 Q32 http://www.imagemagick.org
Features: OpenMP OpenCL HDRI
Since that time running any operation on a 16bit TIFF file always produces a big blob of multicolored dots. I've tried commands similar to this:
convert Any_16bit_TIFF_File.tif -unsharp 0 -density 300 -clamp -depth 16 -format tif Any_16bit_TIFF_File1.tif
I've tried each operation individually, and in various combinations. The result is always the same. IM runs the command as it always has but the resulting image file is a big blob of multicolored dots. I have not tested to see if the problem exists with 8bit files.
Version: ImageMagick 6.7.5-0 2012-02-01 Q32 http://www.imagemagick.org
Features: OpenMP OpenCL HDRI
Since that time running any operation on a 16bit TIFF file always produces a big blob of multicolored dots. I've tried commands similar to this:
convert Any_16bit_TIFF_File.tif -unsharp 0 -density 300 -clamp -depth 16 -format tif Any_16bit_TIFF_File1.tif
I've tried each operation individually, and in various combinations. The result is always the same. IM runs the command as it always has but the resulting image file is a big blob of multicolored dots. I have not tested to see if the problem exists with 8bit files.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 16bit TIFF Files Seem To Be Broken
I can confirm the problem at least in the following case on IM 6.7.5.1 Q16 (non-hdri) Mac OSX Snow Leopard.
this works fine:
convert rose: -depth 16 rose.tiff
these works fine:
convert rose.tiff rose2.tiff
convert rose.tiff -depth 16 rose2.tiff
but these fails with an overall noise like image
convert rose.tiff -sharpen 0x1 rose3.tiff
convert rose.tiff -blur 0x1 rose4.tiff
this works fine:
convert rose: -depth 16 rose.tiff
these works fine:
convert rose.tiff rose2.tiff
convert rose.tiff -depth 16 rose2.tiff
but these fails with an overall noise like image
convert rose.tiff -sharpen 0x1 rose3.tiff
convert rose.tiff -blur 0x1 rose4.tiff
-
- Posts: 12
- Joined: 2010-06-29T15:22:43-07:00
- Authentication code: 8675308
- Location: Las Cruces, New Mexico USA
Re: 16bit TIFF Files Seem To Be Broken
Thank you for the confirmation. I hope things get back to normal pretty soon.
Mike
Mike
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 16bit TIFF Files Seem To Be Broken
RedSky wrote:Thank you for the confirmation. I hope things get back to normal pretty soon.
Mike
I am sure they will once the IM developers verify the issue.
Fred
Re: 16bit TIFF Files Seem To Be Broken
We cannot reproduce this problem, at least not with ImageMagick-6.7.5-2 (available later this evening). We tried under Linux, Windows, and Mac OS X Lion. If the problem persists with ImageMagick-6.7.5-2, perhaps its isolated to the Power PC chip.
-
- Posts: 12
- Joined: 2010-06-29T15:22:43-07:00
- Authentication code: 8675308
- Location: Las Cruces, New Mexico USA
Re: 16bit TIFF Files Seem To Be Broken
I'm running OSX Snow Leopard 10.6.8 on a 32bit Intel processor. IM has been working well on this machine up until the last update and I have become quite dependent on your software. I hope you can reproduce the problem now.
Thanks
Mike
Thanks
Mike
Re: 16bit TIFF Files Seem To Be Broken
Try adding -endian lsb to your command line. Does that help?
-
- Posts: 12
- Joined: 2010-06-29T15:22:43-07:00
- Authentication code: 8675308
- Location: Las Cruces, New Mexico USA
Re: 16bit TIFF Files Seem To Be Broken
Nope That produced no change. Still doing the same thing.
Re: 16bit TIFF Files Seem To Be Broken
Same problem here with 16-bit TIFFs (garbled output for above rose3.tiff and rose4.tiff)
on Arch Linux (64bit):
Version: ImageMagick 6.7.5-2 2012-02-06 Q16
Features: OpenMP HDRI
Problems seem to be starting from version 6.7.4.7 onwards,
6.7.4.6 seems fine...
Thx! Martin
on Arch Linux (64bit):
Version: ImageMagick 6.7.5-2 2012-02-06 Q16
Features: OpenMP HDRI
Problems seem to be starting from version 6.7.4.7 onwards,
6.7.4.6 seems fine...
Thx! Martin
Re: 16bit TIFF Files Seem To Be Broken
We can reproduce the problem you reported and have a patch. Look for it in ImageMagick 6.7.5-3 available within a day or two. Thanks.
-
- Posts: 12
- Joined: 2010-06-29T15:22:43-07:00
- Authentication code: 8675308
- Location: Las Cruces, New Mexico USA
Re: 16bit TIFF Files Seem To Be Broken
Thank You!! I miss my Image Magick!
Re: 16bit TIFF Files Seem To Be Broken
Note, we'll release ImageMagick 6.7.5-3 with the patch today but the Windows binaries will be ImageMagick 6.7.5-2 until we get a chance to update them perhaps sometime tomorrow.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 16bit TIFF Files Seem To Be Broken
These work correctly now for me on IM 6.7.5.3 Q16 Mac OSX Snow Leopard INTEL Mac Mini
convert rose: -depth 16 rose.tiff
convert rose.tiff -depth 16 rose2.tiff
convert rose.tiff -sharpen 0x1 rose3.tiff
convert rose.tiff -blur 0x1 rose4.tiff
Fred
convert rose: -depth 16 rose.tiff
convert rose.tiff -depth 16 rose2.tiff
convert rose.tiff -sharpen 0x1 rose3.tiff
convert rose.tiff -blur 0x1 rose4.tiff
Fred
-
- Posts: 12
- Joined: 2010-06-29T15:22:43-07:00
- Authentication code: 8675308
- Location: Las Cruces, New Mexico USA
Re: 16bit TIFF Files Seem To Be Broken
I think there may be a delay before I can install the update via Macports. Package installers are really great systems but sometimes you have to wait a little longer to gain access to updates. I will report my results as soon as I can.
Mike
Mike
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 16bit TIFF Files Seem To Be Broken
It is possible to install all your delegates via MacPorts, but install IM from source in its usual place. You have to make some adjustments to your ./configure command. I do that so that I can easily install my delegates, but keep up with the latest release of IM.RedSky wrote:I think there may be a delay before I can install the update via Macports. Package installers are really great systems but sometimes you have to wait a little longer to gain access to updates. I will report my results as soon as I can.
Mike
You probably can also install IM from source into /opt where Mac Ports install all its code, but I have not done that, so cannot advise on that.
Last edited by fmw42 on 2012-02-06T21:36:46-07:00, edited 1 time in total.