All Projects → naithar → MagickWand

naithar / MagickWand

Licence: MIT license
Swift wrapper for ImageMagick (MagickWand) for Linux and MacOS

Programming Languages

swift
15916 projects
shell
77523 projects

Projects that are alternatives of or similar to MagickWand

magick-rust
Rust bindings for ImageMagick
Stars: ✭ 135 (+255.26%)
Mutual labels:  imagemagick, magickwand
magickwand-crystal
Crystal C bindings for MagickWand library
Stars: ✭ 67 (+76.32%)
Mutual labels:  imagemagick, magickwand
FotoKilof
GUI for ImageMagick
Stars: ✭ 114 (+200%)
Mutual labels:  imagemagick
converjon
An advanced image conversion server and command line tool.
Stars: ✭ 52 (+36.84%)
Mutual labels:  imagemagick
lambda-resize-image
An AWS Lambda Function to resize images automatically with API Gateway and S3 for imagemagick tasks. When an image is called on AWS Api Gateway, this package will resize it and send it to the S3.
Stars: ✭ 56 (+47.37%)
Mutual labels:  imagemagick
slitcamera
Bash script to turn video file into slit photo
Stars: ✭ 41 (+7.89%)
Mutual labels:  imagemagick
metalsmith-convert
Convert images with imagemagick (via imagemagick-native).
Stars: ✭ 17 (-55.26%)
Mutual labels:  imagemagick
Perspec
Scriptable desktop app to correct the perspective of images
Stars: ✭ 523 (+1276.32%)
Mutual labels:  imagemagick
Yosemite-gtk-theme
Mac OSX Yosemite like theme for GTK 3, GTK 2 and Gnome-Shell etc.
Stars: ✭ 74 (+94.74%)
Mutual labels:  mac-osx
RCE-python-oneliner-payload
Python bind shell single line code for both Unix and Windows, used to find and exploit RCE (ImageMagick, Ghostscript, ...)
Stars: ✭ 23 (-39.47%)
Mutual labels:  imagemagick
Google-Docs-Desktop-OSX
A Super Simple Google Docs Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 35 (-7.89%)
Mutual labels:  mac-osx
FuzzImageMagick
Sample files for fuzzing ImageMagick
Stars: ✭ 15 (-60.53%)
Mutual labels:  imagemagick
blurlock-neofetch
A standard i3lock blur screen, but now with neofetch stats overlayed
Stars: ✭ 17 (-55.26%)
Mutual labels:  imagemagick
dev-machine
Ansible setup for maintaining a development environment
Stars: ✭ 30 (-21.05%)
Mutual labels:  mac-osx
RobotEyes
Image comparison for Robot Framework
Stars: ✭ 62 (+63.16%)
Mutual labels:  imagemagick
emacs-anywhere
📝 Open emacs from anywhere
Stars: ✭ 50 (+31.58%)
Mutual labels:  mac-osx
obs-backgroundremoval
An OBS plugin for removing background in portrait images (video), making it easy to replace the background when screen recording.
Stars: ✭ 1,304 (+3331.58%)
Mutual labels:  mac-osx
codeigniter-image-magician
🎨 An ImageMagick library for CodeIgniter.
Stars: ✭ 13 (-65.79%)
Mutual labels:  imagemagick
Dev-Tools-Magento-2-Module
A collection of utilities meant to improve the experience of developing modules for Magento without breaking existing functionality.
Stars: ✭ 18 (-52.63%)
Mutual labels:  imagemagick
MagickSlicer
Map tiles generator
Stars: ✭ 73 (+92.11%)
Mutual labels:  imagemagick

Disclaimer

Project is currently under development.
Some feature may not work as expected or may not work at all.
Use at your own risk.

PRs and bugreports are more than welcome.

Swift MagickWand

Swift imagemagick MIT
Build Status codebeat badge Code Climate codecov
platforms SPM

This package supports 6.9.x version of ImageMagick.

Intallation

Shared

It should be possible it install MagickWand with required dependencies using script at /common/install-imagemagick.sh

curl -O -L https://github.com/naithar/MagickWand/raw/master/common/install-imagemagick.sh
bash install-imagemagick.sh

Mac OSX

brew install imagemagick@6

Linux

Install Dependencies
sudo apt-get -y build-dep imagemagick
Install ImageMagick
curl -OL https://www.imagemagick.org/download/releases/ImageMagick-6.9.6-8.tar.xz
tar xf ImageMagick-6.9.6-8.tar.xz
cd ImageMagick-6.9.6-8
./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --disable-openmp --with-gs-font-dir=/usr/local/share/ghostscript/fonts
make
sudo make install

Add Package

Add this package to dependencies in your Package.swift file.

.Package(url: "https://github.com/naithar/MagickWand.git", majorVersion: 0)

Building and Testing

Shared

eval $(echo 'swift build -Xlinker -L/usr/local/lib/' `Magick-config --cflags` | sed 's/\(-[DI]\)/-Xcc \1/g')

eval $(echo 'swift test -Xlinker -L/usr/local/lib/' `Magick-config --cflags` | sed 's/\(-[DI]\)/-Xcc \1/g')

Mac OSX

swift build -Xswiftc -I/usr/local/opt/imagemagick@6/include/ImageMagick-6 -Xlinker -L/usr/local/opt/imagemagick@6/lib -Xcc -DMAGICKCORE_HDRI_ENABLE=0 -Xcc -DMAGICKCORE_QUANTUM_DEPTH=16

swift test -Xswiftc -I/usr/local/opt/imagemagick@6/include/ImageMagick-6 -Xlinker -L/usr/local/opt/imagemagick@6/lib -Xcc -DMAGICKCORE_HDRI_ENABLE=0 -Xcc -DMAGICKCORE_QUANTUM_DEPTH=16

Linux

swift build -Xcc -I/usr/local/include/ImageMagick-6/ -Xlinker -L/usr/local/lib/ -Xcc -DMAGICKCORE_HDRI_ENABLE=0 -Xcc -DMAGICKCORE_QUANTUM_DEPTH=16

swift test  -Xcc -I/usr/local/include/ImageMagick-6/ -Xlinker -L/usr/local/lib/ -Xcc -DMAGICKCORE_HDRI_ENABLE=0 -Xcc -DMAGICKCORE_QUANTUM_DEPTH=16

XCode Setup

Generate XCode project using this command:

swift package -Xlinker -L/usr/local/lib/ -Xcc -DMAGICKCORE_HDRI_ENABLE=0 -Xcc -DMAGICKCORE_QUANTUM_DEPTH=16 -Xswiftc -I/usr/local/include/ImageMagick-6 -Xcc -I/usr/local/include/ImageMagick-6 generate-xcodeproj

Both -Xcc and -Xswiftc flags can be requested using Magick-config --cflags command

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].