Shot in the dark: If it's a race condition that's causing it to crash, would: OIIO::attribute ("threads", 1); perhaps help?
On Wed, Aug 26, 2015 at 10:17 AM, Yang Yang <comety...@gmail.com> wrote: > Hi Larray, > > I attached a file that generated during debug process. The file can be > load correctly in IrfanView. > OpenImageIO indeed calls jpeg encoder to generate it. But I cannot > generate it without setting break point in Visual studio. > > I found the following link information about Jpeg in TIFF: > http://www.remotesensing.org/libtiff/TIFFTechNote2.html > > This link give a use case for JPEG in TIFF: > http://iipimage.sourceforge.net/documentation/images/ > > Regards, > > Yang > > 2015-08-26 1:04 GMT-05:00 Larry Gritz <l...@larrygritz.com>: > >> Ha, this has proven to be much more complicated than I thought! >> >> By any chance, do you have a JPEG-in-TIFF file that you are confident is >> correct (can be correctly read by some application you trust) that you can >> send me to use as a test case? >> >> >> >> > On Aug 25, 2015, at 11:36 AM, Larry Gritz <l...@larrygritz.com> wrote: >> > >> > Yeah, the TIFF output doesn't have a "compression" value it recognizes >> that will turn on JPEG compression. (I think this is the first time anybody >> has requested it, I didn't know anybody cared about lossy compression with >> TIFF files.) >> > >> > Should be really simple, I'll propose a patch shortly. >> > >> > >> >> On Aug 25, 2015, at 7:37 AM, Yang Yang <comety...@gmail.com> wrote: >> >> >> >> Hi All, >> >> >> >> When I try to use JPEG as compression option for TIFF, I found out >> there is no JPEG support. >> >> However, when I try to add "JPEG_COMPRESS" option in to OpenImageIO, I >> found the output file is always corrupted. I already build libtiff with >> "new jpeg" enabled. >> >> >> >> I wonder that does anyone encounter this problem or not? How should I >> solve this issue. >> >> >> >> >> >> Thank in advance for your attention. >> >> >> >> Yang >> > >> > >> >> -- >> Larry Gritz >> l...@larrygritz.com >> >> >> _______________________________________________ >> Oiio-dev mailing list >> Oiio-dev@lists.openimageio.org >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> > > > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.openimageio.org > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > >
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org