Skip to content

Instantly share code, notes, and snippets.

aferrero2707

Block or report user

Report or block aferrero2707

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aferrero2707
aferrero2707 / vips_resize_benchmark.c
Created Dec 29, 2017
Benchmark code for vips_resize() function
View vips_resize_benchmark.c
/* Benchmark example for vips_resize().
*/
#include <stdio.h>
#include <stdlib.h>
#include <vips/vips.h>
int
main( int argc, char **argv )
View vips_fits_test.c
#include <vips/vips.h>
int
main( int argc, char **argv )
{
VipsImage *image;
VipsImage *image2;
VipsImage *out;
// Create VipsImage from given file
@aferrero2707
aferrero2707 / Recipe.hugin
Created Oct 27, 2016
AppImage recipe for Hugin
View Recipe.hugin
#! /bin/bash
UPDATE=0
REBUILD=1
PREFIX=/xxx
# Move blacklisted files to a special folder
move_blacklisted()
{
@aferrero2707
aferrero2707 / gmic_gimp.cpp
Created Sep 6, 2016
Patched G'MIC plug-in that adds color management of the preview area
View gmic_gimp.cpp
/*
#
# 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/ )
@aferrero2707
aferrero2707 / Recipe.gimp.full
Created Sep 4, 2016
AppImage Recipe for GIMP - full bundling
View Recipe.gimp.full
#! /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
@aferrero2707
aferrero2707 / Recipe.git
Last active Jan 3, 2019
AppImage recipe for building GIMP from git
View Recipe.git
#! /bin/bash
FULL_BUNDLING=0
UPDATE=1
REBUILD=1
PREFIX=/zzz
# Move blacklisted files to a special folder
move_blacklisted()
@aferrero2707
aferrero2707 / CMakeLists.txt
Last active Sep 19, 2016
Experimental CMake build configuration for G'MIC
View CMakeLists.txt
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)
View gmic_test.cc
/* 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
@aferrero2707
aferrero2707 / icc_test.c
Last active Aug 29, 2015
Simple test of custom ICC metadata handling
View icc_test.c
/* 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>
@aferrero2707
aferrero2707 / rawsave.c
Last active Aug 29, 2015
Simple test of raw image saving
View rawsave.c
/* Compile with
gcc rawsave.c `pkg-config vips --cflags --libs`
*/
#include <vips/vips.h>
int
main( int argc, char **argv )
You can’t perform that action at this time.