[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] GIMP-like image enhancement?
On Fri, 18 Jun 2004, Bob Ippolito wrote:
> On Jun 18, 2004, at 5:34 PM, Jasper Phillips wrote:
>
> > It is however very frustrating that I have to reinvent the wheel! It
> > really puts into perspective the value of all the amazing LGPL code I'm
> > using, without which I'd be stuck.
>
> Yeah, but the functionality that you want from GIMP is probably really
> hard to decouple anyway. You want a wheel but you have an 18 wheeler
> :)
Not to hard, provided I could get pygimp to work. I'd have to compile and
ship it to, which would be a headache.
> It can't be that hard to look at the code they're using and write a
> similar algorithm on top of Numeric/numarray/scipy/etc.
Hmmm, are you implying that PIL isn't as optimized as these things? I've
been wondering about that, for the amount of code that PIL has for filtering
is negligible, and at a cursory glance it sure appears unoptimized...
Normally I don't give a damn about execution speed, but image filtering
seems like an obvious bottleneck judging from how long it takes GIMP to
clothify.
-Jasper