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._...@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@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe