[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] ImageMagick Filter selection
- From: Luke Hart <lukeh@xxxxxxxx>
- Date: Tue, 25 Jul 2006 14:42:46 +0100
- Subject: Re: [XaraXtreme-dev] ImageMagick Filter selection
Alex Bligh wrote:
Luke Hart wrote:
How does ImageMagick filter selection work? Does it make a decision
base on filename extension?
I'm trying to work out why preview doesn't work and noticed that I'm
exporting the bitmap to a filename without an extension..
CanHandle() looks only at the filename, but that's for import only.
Each of the ImageMagick filters is a different class. Whatever creates
the filter creates the one of the correct class. It's as simple as
that unless I'm missing something. IE I think it's the same way
as you chose between (say) PNG & GIF.
Thanks, I've added the correct extension to keep the import filters happy.