瀏覽代碼

imlib.c: fix support for alpha channel when saving using Imlib2.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3350 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 16 年之前
父節點
當前提交
78cc659e07
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      pipi/codec/imlib.c

+ 1
- 0
pipi/codec/imlib.c 查看文件

@@ -73,6 +73,7 @@ int pipi_save_imlib2(pipi_image_t *img, const char *name)
void *data;

imlib_context_set_image(priv);
imlib_image_set_has_alpha(1);
data = imlib_image_get_data();

/* FIXME: check pitch differences here */


Loading…
取消
儲存