... have I succumbed to working on Dia when I should have done some of my
real work.  But at least I got neat stuff done this time:

I've added support for gdk_pixbuf (it's currently switchable with
--disable-gdk-pixbuf, and falls back to gdk_imlib) It doesn't do caching
like imlib, so I added some myself (though there may be a mem leak involved
in that).  On the other hand, it supports alpha, which is neat.

I also looked at color EPS output.  I don't remember why it was transformed
to grayscale originally, but I have the color output working.

Now I mentioned alpha above.  It turns out that gdk_pixbuf and gdk_imlib
does alpha in very different ways -- imlib just has a mask, whereas
gdk_pixbuf has full alpha.  Of course X doesn't do alpha yet, but since it
turns out that I have to make a full mask and apply it 'by hand' for each
export, I figured 'why not make it mask onto a white background' -- I don't
know if you can do alpha in PostScript, if you can, it'd be very easy to
use that.

Now I'd like everybody who likes images to beat on this to get any kinks
out.  The new imlib code could probably also do with a bit of beating, so
those who don't want to install gdk_pixbuf right away should configure with
--disable-gdk-pixbuf. 

It seems the images lost their aspect ratio settings during the change to
properties.  I'm looking at getting that back next.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | H�rdgrim of Numenor
"I do not agree with a word that you say, but I    | Retainer of Sir Kegg
will defend to the death your right to say it."    |   of Westfield
    --Evelyn Beatrice Hall paraphrasing Voltaire   | Chaos Berserker of Khorne

Reply via email to