[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] ImageMagick Filter selection



Luke Hart wrote:
Alex,

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.

Alex