Tiffs can be RGB as planar or chunky. Planar is stored as all the red; then
all the green; then all the blue. Chunky is stored as a pixel’s RGB; then
the next pixel’s RGB; then the next pixel’s RGB; etc. Chunky also pays
attention to “bits per sample”, and “samples per pixel” (3 for RGB). I’ve
never heard of a tiff chunky format that goes BGR or even RBG or anything
that deviates from R first; then G; then B last.

On 17 January 2012 22:49, Rogier Wolff <[email protected]>wrote:

>
> On Tue, Jan 17, 2012 at 03:11:18PM +0100, Harry van der Wolf wrote:
> > The option to pass is --bgr (for: swap RGB order)
> > It only happens with tiffs as far as I know.
>
> In case someone wants to look into this before I do:
>
> My "working theory" is that many tiffs come with the color planes in
> RGB order, and multiblend ignores that and assumes that the first is
> R, the second G, and the third B. The tiffs that go wrong happen to
> have BGR order in the file. (*)
>
> George, you're welcome to compress and send me one of your 16-bit
> tiffs so that I can investigate this theory....
>
>        Roger.
>
> (*) Or things could be exactly the other way around. Some program
> wrote them out BGR and tagged them RGB, and Multiblend believes the
> tags...
>
> --
> ** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
> **    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
> *-- BitWizard writes Linux device drivers for any device you may have! --*
> The plan was simple, like my brother-in-law Phil. But unlike
> Phil, this plan just might work.
>
> --
> 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
>



-- 
*Ian Tindale*

-- 
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

Reply via email to