From: Stefan v. d. W. <st...@su...> - 2005-10-12 18:03:30
|
On Wed, Oct 12, 2005 at 07:32:23PM +0300, Teemu Ikonen wrote: > I have a rewrite of imread as an oct-file binding to libmagick++ in > the works. AFAIK Imagemagick supports all of the formats of the > current imread implementation or more and I found that reading some > formats to octave is 2 orders of magnitude faster with imagemagick. Is the libmagick++ API stable? We experimented with it a while ago, and had problems over different versions. The current implementation of imread calls jpgread and pngread when appropriate, so loading png and jpegs should be (almost) as fast as when using libmagick. ImageMagick requires libpng and libjpeg, but I guess it would be safer to depend on their implementation. What I don't like about that solution is that we'll be needing a lot of extra development headers, many of which we'll never use. So we should probably look into making use of more ImageMagick functionality in other parts of the image toolbox as well. Regards St=E9fan |