From: <hug...@li...> - 2011-03-18 19:57:47
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgrepo/h/hu/hugin/hugin/rev/50e927e84344 changeset: 5142:50e927e84344 user: Lukas Jirkovsky <l.j...@gm...> date: Fri Mar 18 20:51:41 2011 +0100 description: Revert part of the commit e2f7faa6c0e1 which actually breaks LogLuv TIFF support. diffstat: src/foreign/vigra/vigra_impex/tiff.cxx | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diffs (22 lines): diff -r 4153b967c41c -r 50e927e84344 src/foreign/vigra/vigra_impex/tiff.cxx --- a/src/foreign/vigra/vigra_impex/tiff.cxx Fri Mar 18 20:23:32 2011 +0100 +++ b/src/foreign/vigra/vigra_impex/tiff.cxx Fri Mar 18 20:51:41 2011 +0100 @@ -631,18 +631,6 @@ *buf++ = x; } } - - // convert LogLuv images to RGB - if (photometric == PHOTOMETRIC_LOGLUV) { - float * buf = static_cast< float * > (stripbuffer[0]); - Luv2RGBPrimeFunctor<float> func; - for ( unsigned int i = 0; i < width; ++i ) { - RGBValue<float> res = func(buf); - *buf++ = res.red(); - *buf++ = res.green(); - *buf++ = res.blue(); - } - } } } |