Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't think Imlib2 supports writing GIF files at all. From a rather <a href="http://gallery.menalto.com/node/266" rel="nofollow">old mailing list posting</a>:</p> <blockquote> <p>I discovered that Imlib2 has absolutely NO support for writing out gif files.</p> </blockquote> <p>Furthermore, if you look at the source, you'll see a couple files of interest:</p> <ul> <li><code>imlib2-1.4.5/src/modules/loaders/loader_png.c</code></li> <li><code>imlib2-1.4.5/src/modules/loaders/loader_gif.c</code></li> </ul> <p>Inside <code>loader_png.c</code> you'll find this:</p> <pre><code>char load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity, char immediate_load) { /*...*/ } char save(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity) { /*...*/ } </code></pre> <p>and inside <code>loader_gif.c</code>, you'll find:</p> <pre><code>char load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity, char immediate_load) { /* ... */ } </code></pre> <p>but no <code>save</code> implementation. So it looks like Imlib2 can read GIFs but can't write them and that's where your trouble lies.</p> <p>I'd recommend that you switch to <a href="http://www.graphicsmagick.org/" rel="nofollow">GraphicsMagick</a> and <code>Graphics::Magick</code>. GraphicsMagick is a fork of ImageMagick that is faster and has fewer bugs, this is what Flickr uses internally so it should be good enough for you. GraphicsMagick unfortunately uses the somewhat strange ImageMagick API but you can hide the ugly details behind a wrapper without too much difficulty.</p> <p>Alternatively, save all your thumbnails as JPEGs or PNGs.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload