Re: Optimizations, etc.

"Bradley A. Hare" <[email protected]>
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Kai-Uwe Behrmann wrote:

> Your optimisation and suggestions are greatly welcome. Do you like to 
> create a patch against 0.21-2 for the above mentioned rendering and 
> manipulation code?

Never done a patch before in my life, but I suppose it might be
a good time to figure it out.  I'm still playing with the code a bit to
see if the clipping logic for contrast could be improved.  For the
color corrector I can probably clean it up to U8, U16 operation for
now.  I'll need about a week for cleanup and testing.  I'll also need
some advice as to where to send the results.  The diffs are probably not
too big, should I post them here as attachments ???


> For tiff I would be interessted to see a reproducible scenario. A 
> patch is welcome as well ;-) Otherwise I remain a bit in darkness.
> 

The bug came up while I was cleaning up a batch of about 400 images last 
week (Canon EOS-1ds MkII, raw conversions to 16 bit tiff). I
have not yet had time to go back and figure out what happened.
Midway through the retouching ( #&*$#! dust removal) I found a few files
that would not read back in without a crash.  They also had weird sizes,
about 130Mb vs 98Mb expected.  Reproducing the problem was difficult. I
solved the problem by going back to 0.19 - no instances of corrupt files
(I never made it to 0.20).  I should add one note that I just thought
of - the files were created with my own version of dcraw that was
patched up to write tiff (no longer needed as the author has included
tiff in the latest version).  I will need to make  sure that my files
were not triggering the bug (They do seem to work without problems in
Gwenview and XV).

In the meantime I wanted to use my old notebook to demo the work, hence
my sudden interest in speeding things up.  I'll finish the work in
progress to apply against 0.21 and then I'll return to the tiff problem.

I really think that the existing gtk branch of Cinepaint is an
unrecognized gem and I really need to add a note of thanks to
everyone who has contributed to the project.  You pretty much
saved me from defecting to OSX (now if I could just get my
hands on an open source final-cut pro...)  I'm not into heavily
photoshopped images so the complaints one hears
about the feature set are pretty much meaningless to me.  As long as I
can do what I used to do in the darkroom I'm happy.  Cinepaint gives me
that and much more.   I also have a "gut" feeling that any existing
problems can be easily cleaned up.  I'll be keeping gdb warmed up for
anything that crops up.

Regards,

Brad Hare

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.