Where to find ImageTools.IO.Decoders.AddDecoder

Mar 17, 2011 at 2:20 PM

As I wrote this post, I found the answer.

From the Documentation page there is an instruction to register the image decoder:

           using ImageTools.IO;

           using ImageTools.IO.Gif;

          ImageTools.IO.Decoders.AddDecoder<GifDecoder>();

 

 

What's missing in the example is the base class:

using ImageTools;
using ImageTools.IO;
using ImageTools.IO.Gif;

And of course adding the reference to the base class library!


Obvious once you find it!

Coordinator
Mar 17, 2011 at 2:33 PM
Thanks a lot for this hint. I really would prefer to spend more time to
image tools, but I cant and as you can see: I am the only developer. I
work as a freelancer and when I have to decide whether to spend my time
in imagetools or in other projects where I get good money it is often
easy to decide.

If you like imagetools and wanna help I would be really happy.