HDR bug report

Robin Rowe <[email protected]>
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
-------- Original Message --------
Subject: mail failure to devlist so I do have to post them this way...
Date: Tue, 02 Jan 2007 20:29:01 +0100
From: chris huf <[email protected]>
To: [email protected]

...certainly my fault, but whatever, posting it this way:


cinepaint 0.17 / 0.18 image loader plugin failure:

1. as far as I could investigate, the problem seems to be correlated
starting up cp with  the layer windows opened.
Restarting it
with lp closed seems to fix problems.
So the whole problem seems to be affiliated with some kind of layer
initialisation mixup (didn't check that)

2. hdr saver plugin failure:
Although it seems a quite nice feature to save the additional alpha
channel as an sepperate image,
it seems to be the reason for a save bug on irix and a self compiled
windows version if no alpha is present.

I do think the main reason for this is the mixup between boolean FALSE /
NULL in the save_image function (hdr.c)
and the fwritescan_a function (fromrad.c)

disabling alpha save and modifying line 321/322:
        if (fwritecolrs(clrscan, len, fp)!=0) return (-1);
        return(fwritecolrs(alphascan, len, afp));

into:
        return(fwritecolrs(clrscan, len, fp) ) ;








-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.