Hi Rogier, Op 21 april 2012 10:00 schreef Rogier Wolff <[email protected]>het volgende:
> > On Sat, Apr 21, 2012 at 09:00:16AM +0200, Harry van der Wolf wrote: > > > enfuse: error: OJPEG encoding not supported; use new-style JPEG > > > The weird thing is that it mentions that it encounters a wrong jpeg > > compression in a tiff file. > > - Tiffs don't use jpeg compression (wrong enfuse error?) > > Tiff don't use JPG compression? Where did you get that idea??? > > You're right. I was too short in my answer as I wanted to keep it simple. What I meant to say is that the tiffs in Hugin don't use jpeg(=lossy) compression. They use lzw, deflate or none. > Tiff is a file format that allows a sequence of tagged blobs (blob= > bunch of binary data). Usually one is an Image blob, and the > compression mode can be specified. Several compression methods are > available, like none, lzw, rle and jpeg. > > Anyway.... it isn't complaining about jpeg compression in the tiff > file. > > You get this message when you're running the wrong headers in > combination with the wrong library. > > The program tries to specify > COMPRESSION_LZW > which was defined as > #define COMPRESSION_LZW 4 > in one version of the library, but the new version has: > #define COMPRESSION_OJPEG 4 > in the header. So the library interprets the passed value wrong. > > (I made up the symbols and values in the above example, but it's > something like that.) > > Anyway, the program is /using/ a different TIFF library from the > headers it was compiled against. > > To be honest: I didn't know about the jpeg (IJG) and old-jpeg, but reading that error it was the first thing I checked. When I started with Hugin on OSX we were at jpeg6b from the IJG group and I'm still using that library, now at version 8d. All binaries and libraries are compiled against the same libtiff (and jpeg and png for that matter), thereby using the same header files from the same include path. I checked that with a.o. "otool -L ..." and especially checked for files being "slipped in" from my macports: none at all. My libtiff is compiled with both old-jpeg and jpeg support. If you have more suggestions on what went wrong, please let me know. Harry -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
