Giter Club home page Giter Club logo

novomesk / gimp-avif-plugin Goto Github PK

View Code? Open in Web Editor NEW
30.0 4.0 1.0 17.06 MB

Plug-in for development GIMP 2.99.11 for loading/saving AVIF images.

License: GNU General Public License v3.0

Shell 0.20% CMake 0.91% C 56.09% Batchfile 0.02% C++ 20.65% Raku 0.13% Assembly 20.61% Perl 0.39% Python 0.74% HTML 0.04% JavaScript 0.01% Dockerfile 0.01% Meson 0.14% CoffeeScript 0.02% Makefile 0.02% Java 0.01% Starlark 0.03%
gimp-plugin imageformats avif

gimp-avif-plugin's Introduction

gimp-avif-plugin

Plug-in for development GIMP 2.99.11 for loading/saving AVIF images.

Saving AVIF image without transparency

Saving AVIF image with transparency

Saving AVIF image with 12bit depth

Build process using ./build_file-avif.sh

gimp-avif-plugin's People

Contributors

novomesk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ewouth

gimp-avif-plugin's Issues

Support 2.10.X?

Thanks for your amazing plugin, but would it be possible to make a separate branch for 2.10.X support? I don't see GIMP 3.0 coming out soon and the development branch is not packaged yet for my distro.

Fails to compile. Because of avif-git?

Build type: native build
Project name: file-avif
Project version: undefined

C compiler for the host machine: ccache cc (gcc 10.1.0 "cc (GCC) 10.1.0")
C linker for the host machine: cc ld.bfd 2.34.0
C++ compiler for the host machine: ccache c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
C++ linker for the host machine: c++ ld.bfd 2.34.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency libavif found: YES 0.7.3
Run-time dependency gimpui-3.0 found: YES 2.99.1
Run-time dependency exiv2 found: YES 0.27.2
Run-time dependency gexiv2 found: YES 0.12.1
Run-time dependency lcms2 found: YES 2.11
Message: We will use dynamic linking with libavif
Build targets in project: 1

Found ninja-1.10.0 at /usr/bin/ninja
[5/6] Compiling C object 'file-avif@exe/file-avif.c.o'
FAILED: file-avif@exe/file-avif.c.o 
ccache cc -Ifile-avif@exe -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gimp-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -pthread -MD -MQ 'file-avif@exe/file-avif.c.o' -MF 'file-avif@exe/file-avif.c.o.d' -o 'file-avif@exe/file-avif.c.o' -c ../file-avif.c
../file-avif.c: In function ‘avif_create_procedure’:
../file-avif.c:166:45: warning: passing argument 4 of ‘gimp_save_procedure_new’ from incompatible pointer type [-Wincompatible-pointer-types]
  166 |                                             avif_save, NULL, NULL );
      |                                             ^~~~~~~~~
      |                                             |
      |                                             GimpValueArray * (*)(GimpProcedure *, GimpRunMode,  GimpImage *, gint,  GimpDrawable **, GFile *, const GimpValueArray *, void *) {aka struct _GimpValueArray * (*)(struct _GimpProcedure *, GimpRunMode,  struct _GimpImage *, int,  struct _GimpDrawable **, struct _GFile *, const struct _GimpValueArray *, void *)}
In file included from /usr/include/gimp-3.0/libgimp/gimp.h:60,
                 from ../file-avif.c:49:
/usr/include/gimp-3.0/libgimp/gimpsaveprocedure.h:88:64: note: expected ‘GimpRunSaveFunc’ {aka ‘struct _GimpValueArray * (*)(struct _GimpProcedure *, GimpRunMode,  struct _GimpImage *, struct _GimpDrawable *, struct _GFile *, const struct _GimpValueArray *, void *)’} but argument is of type ‘GimpValueArray * (*)(GimpProcedure *, GimpRunMode,  GimpImage *, gint,  GimpDrawable **, GFile *, const GimpValueArray *, void *)’ {aka ‘struct _GimpValueArray * (*)(struct _GimpProcedure *, GimpRunMode,  struct _GimpImage *, int,  struct _GimpDrawable **, struct _GFile *, const struct _GimpValueArray *, void *)’}
   88 |                                               GimpRunSaveFunc  run_func,
      |                                               ~~~~~~~~~~~~~~~~~^~~~~~~~
../file-avif.c: In function ‘avif_save’:
../file-avif.c:359:44: warning: passing argument 2 of ‘gimp_export_image’ from incompatible pointer type [-Wincompatible-pointer-types]
  359 |       export = gimp_export_image ( &image, &n_drawables, &drawables, "AVIF",
      |                                            ^~~~~~~~~~~~
      |                                            |
      |                                            gint * {aka int *}
In file included from /usr/include/gimp-3.0/libgimp/gimpui.h:33,
                 from ../file-avif.c:50:
/usr/include/gimp-3.0/libgimp/gimpexport.h:84:81: note: expected ‘GimpDrawable **’ {aka ‘struct _GimpDrawable **’} but argument is of type ‘gint *’ {aka ‘int *’}
   84 |                                                         GimpDrawable          **drawable,
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../file-avif.c:359:58: warning: passing argument 3 of ‘gimp_export_image’ from incompatible pointer type [-Wincompatible-pointer-types]
  359 |       export = gimp_export_image ( &image, &n_drawables, &drawables, "AVIF",
      |                                                          ^~~~~~~~~~
      |                                                          |
      |                                                          GimpDrawable *** {aka struct _GimpDrawable ***}
In file included from /usr/include/gimp-3.0/libgimp/gimpui.h:33,
                 from ../file-avif.c:50:
/usr/include/gimp-3.0/libgimp/gimpexport.h:85:81: note: expected ‘const gchar *’ {aka ‘const char *’} but argument is of type ‘GimpDrawable ***’ {aka ‘struct _GimpDrawable ***’}
   85 |                                                         const gchar            *format_name,
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../file-avif.c:359:70: error: incompatible type for argument 4 of ‘gimp_export_image’
  359 |       export = gimp_export_image ( &image, &n_drawables, &drawables, "AVIF",
      |                                                                      ^~~~~~
      |                                                                      |
      |                                                                      char *
In file included from /usr/include/gimp-3.0/libgimp/gimpui.h:33,
                 from ../file-avif.c:50:
/usr/include/gimp-3.0/libgimp/gimpexport.h:86:81: note: expected ‘GimpExportCapabilities’ but argument is of type ‘char *’
   86 |                                                         GimpExportCapabilities  capabilities);
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../file-avif.c:359:16: error: too many arguments to function ‘gimp_export_image’
  359 |       export = gimp_export_image ( &image, &n_drawables, &drawables, "AVIF",
      |                ^~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-3.0/libgimp/gimpui.h:33,
                 from ../file-avif.c:50:
/usr/include/gimp-3.0/libgimp/gimpexport.h:83:20: note: declared here
   83 | GimpExportReturn   gimp_export_image                   (GimpImage             **image,
      |                    ^~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Error: we failed to compile file-avif!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.