This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Benchmark example for vips_resize(). | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <vips/vips.h> | |
int | |
main( int argc, char **argv ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vips/vips.h> | |
int | |
main( int argc, char **argv ) | |
{ | |
VipsImage *image; | |
VipsImage *image2; | |
VipsImage *out; | |
// Create VipsImage from given file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
UPDATE=0 | |
REBUILD=1 | |
PREFIX=/xxx | |
# Move blacklisted files to a special folder | |
move_blacklisted() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# | |
# File : gmic_gimp.cpp | |
# ( C++ source file ) | |
# | |
# Description : G'MIC for GIMP - A plug-in to allow the use | |
# of G'MIC commands in GIMP. | |
# | |
# Copyright : David Tschumperle | |
# ( http://tschumperle.users.greyc.fr/ ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh | |
. ./functions.sh | |
APP=gimp | |
VERSION=2.9.5 | |
LOWERAPP=${APP,,} | |
UPDATE=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
FULL_BUNDLING=0 | |
UPDATE=1 | |
REBUILD=1 | |
PREFIX=/zzz | |
# Move blacklisted files to a special folder | |
move_blacklisted() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.9) | |
project(gmic CXX C) | |
find_package(PkgConfig) | |
# options controlling the build process | |
option(BUILD_LIB "Build the GMIC shared library" ON) | |
option(BUILD_CLI "Build the CLI interface" ON) | |
option(BUILD_PLUGIN "Build the GIMP plug-in" ON) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Pass VIPS images through gmic | |
* | |
* AF, 6/10/14 | |
*/ | |
/* | |
This file is part of VIPS. | |
VIPS is free software; you can redistribute it and/or modify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Compile with | |
gcc icc_test.c -o icc_test `pkg-config vips --cflags --libs` `pkg-config lcms2 --cflags --libs` | |
Run with | |
icc_test input_image.jpg output_image.jpg | |
*/ | |
#include <vips/vips.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Compile with | |
gcc rawsave.c `pkg-config vips --cflags --libs` | |
*/ | |
#include <vips/vips.h> | |
int | |
main( int argc, char **argv ) |