[Haskell-cafe] rotate image
Jeff Heard
jefferson.r.heard at gmail.com
Mon Aug 24 16:14:02 EDT 2009
You could use Cairo. Load the image to a surface, then rotate the
surface 10 degrees and paint it.
Alternately, in Hieroglyph:
renderToPNG w h "image.png" $ rotate 10 image{ filename='whatever.png' }
On Mon, Aug 24, 2009 at 3:57 PM, h<h._h._h._ at hotmail.com> wrote:
> Hello,
>
> I already studied the references of gtk2hs for hours, as well as searched in
> the web, but didn't found any working solution.
>
> The problem is to load an image, a png with alpha channel, rotate it e.g. 10
> degree, and show it on the screen, basically as when it would be shown with
> imageNewFromFile with transparency.
>
> Thanks in advance for your help.
>
> --
> Best regards
> H.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list