Re: Mesh Patterns for deformation ?
Stuart Axon <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 [email protected] http://lists.cairographics.org/mailman/listinfo/cairo