Siarhei Siamashka wrote:
Anyway, right now I'm actually working on a similar function
specifically for
bilinear scaling, which would detect 5 zones:
Actually it appears it would be very helpful if "None" instead produced
an image identical to using repeat or mirror of the edges, but with th
On Thursday 10 February 2011 21:08:33 Bill Spitzak wrote:
> It sounds to me like you are proposing that a binary zero-or-source
> decision be made for each pixel in the output space. I don't think this
> will work.
Something like this (decision about which pixels in the output space correspond
to
On Thursday 10 February 2011 12:12:41 Soeren Sandmann wrote:
> Siarhei Siamashka writes:
> > From: Siarhei Siamashka
> >
> > Scaling function now gets an extra boolean argument, which is set
> > to TRUE when we are fetching padding pixels for NONE repeat. This
> > allows to make a decision wheth
It sounds to me like you are proposing that a binary zero-or-source
decision be made for each pixel in the output space. I don't think this
will work.
The pixel sampling of the source needs to do this, otherwise filtering
cannot be used to produce an antialiased edge where the image
transitio
Siarhei Siamashka writes:
> From: Siarhei Siamashka
>
> Scaling function now gets an extra boolean argument, which is set
> to TRUE when we are fetching padding pixels for NONE repeat. This
> allows to make a decision whether to interpret alpha as 0xFF or 0x00
> for such pixels when working wit
From: Siarhei Siamashka
Scaling function now gets an extra boolean argument, which is set
to TRUE when we are fetching padding pixels for NONE repeat. This
allows to make a decision whether to interpret alpha as 0xFF or 0x00
for such pixels when working with formats which don't have alpha
channel