2008.05.23 18:55 "[Tiff] Unitialized Variable Caused a Problem in TIFFCP", by Gene Amtower

2008.05.23 23:50 "Re: [Tiff] Unitialized Variable Caused a Problem in TIFFCP", by Gene Amtower


Thanks for responding.

I have the source code from both 3.8.2 and 3.6.1, and it appears the variable is uninitialized in both versions of the code. My current desktop Linux environment uses the 3.6.1 version, so I have been performing the code changes for my own requirements in that version. I don't know how much difference exists between the 3.6 and 3.8 release sets, but I don't think it affects my current issue. I believe the features I'm developing for watermarking could be rolled into either release as well.



On Fri, 2008-05-23 at 16:36 -0500, Bob Friesenhahn wrote:

In trying to use the bias feature of the tiffcp tool, I discovered that the tiff images I was trying to modify were reported as having more than 1 sample/pixel, so I got an error result instead of the expected processing. I spent some time with the tiffinfo tool looking at various images because I really didn't know much about the specific format of the images in question. It reported that they were compressed using the "CCITT Group 4" method, which I thought was a monochrome format, so the message about more than 1 sample/pixel was a bit confusing. I thought maybe I didn't understand enough about the image properties. In fact, I almost posted a message to this list but decided I'd do some research first.

What version of libtiff are you using? Since you are new to libtiff, perhaps you are using an outdated version?