[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: trouble with the scale bug
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2007-05-25 19:08:57
Message-ID: f37c89$ctb$1 () sea ! gmane ! org
[Download RAW message or body]

Casper Boemann wrote:
> On Friday 25 May 2007 17:21, Matthew Woehlke wrote:
>> I am probably missing something because I'm not familiar with Krita's
>> resize algorithm, but I was thinking this should be 'fixable' by simply
>> defining the coordinate mapping in such a way that the edge 'new pixels'
>> never overlap past the outside of the edge 'old pixels'. So an edge
>> pixel does not "overlap" pixels that "didn't exist"...
> Well the sampling area is larger than the area the pixel occupy. How much 
> larger depends on the sampling filter you choose. That is why scaling with 
> certain filters give a more blurred image than with other filters.

Hmm, ok wasn't thinking about algorithms that sample more than 0.5 px 
radius. :-) It is not possible to modify such algorithms to have 
different edge behavior though? I guess that would have to be an option 
in case you have an irregular layer that you don't /want/ to treat as 
having "edges".

Anyway thanks for the info. :-)

-- 
Matthew
"Still the prettiest." -- Legolas
(as quoted in The Very Secret Diaries by Cassandra Claire)
http://www.ealasaid.com/misc/vsd/

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic