[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: Re: [cairo] Mesh Patterns for deformation ?
From: Stuart Axon <stuaxo2 () yahoo ! com>
Date: 2015-02-28 12:06:28
Message-ID: 590124280.158816.1425125188790.JavaMail.yahoo () mail ! yahoo ! com
[Download RAW message or body]
Cheers for the info :) I realised afterwards the question might have seemed \
outlandish - I haven't played with the gradient patterns yet, since I use cairocffi.
What a great book, I'll have a look.
- From a naive POV the mesh gradient API looks close the infrastructure needed to \
implement mesh warping - if instead of a gradient it was generating positional \
offsets for warping .. think I need to read up on image warping + have a play with \
cairo some more.
S++
> On Saturday, February 28, 2015 11:00 AM, Adrian Johnson <ajohnson@redneon.com> \
> wrote:
> > On 23/02/15 18:19, Stuart Axon wrote:
>
> > Hello All,
> > Is it possible to use mesh patterns to deform/bend a bitmap ?
> > S++
> >
>
> No. I assume you are referring to "mesh warping". If you can't
> find any
> library to do this there is an algorithm and sample code in the book
> "Digital Image Warping" by George Wolberg.
>
--
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic