Re: [Gimp-developer] efficient bilinear interpolation code

2009-02-27 Thread Tal
I've just submitted a patch for efficient bilinear interpolation of transformed 
brushes to bugzilla (Bug 520078 – Rotate brushes 
http://bugzilla.gnome.org/show_bug.cgi?id=520078).

I have a feeling the speed could still be improved somehow, so any performance 
gurus looking for a challenge are welcome to give it a go.

Regards,

Tal



 -Original Message-
 From: ta...@inbox.com
 Sent: Wed, 25 Feb 2009 14:10:40 -0800
 To: gimp-developer@lists.xcf.berkeley.edu
 Subject: [Gimp-developer] efficient bilinear interpolation code
 
 Hello,
 
 I'm very close to finishing code for efficient bilinear interpolation of
 transformed brushes (Bug 520078 – Rotate brushes
 http://bugzilla.gnome.org/show_bug.cgi?id=520078).
 
 I will post again soon when the code is ready.
 
 Regards,
 
 Tal
 
 
 
 
 
 
 
 
 
 
 
 ___
 Gimp-developer mailing list
 Gimp-developer@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] efficient bilinear interpolation code

2009-02-25 Thread David Gowers
Hi!

On Thu, Feb 26, 2009 at 8:40 AM, Tal ta...@inbox.com wrote:
 Hello,

 I'm very close to finishing code for efficient bilinear interpolation of 
 transformed brushes (Bug 520078 – Rotate brushes 
 http://bugzilla.gnome.org/show_bug.cgi?id=520078).

 I will post again soon when the code is ready.
Excellent, I look forward to it.
You should be aware there is an occasional bug that occurs with very
small brushes, with the current code,
where eg. a 1x1pixel brush becomes a 4x1 pixel brush like this: #..#

It is usually triggered by adjusting the brush scale away from 1.0 and
then back to 1.0.

I'm happy to help with testing the interpolation, especially if the
above bug also appears with your code.


David
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer