Imageflow Go

Go bindings for Imageflow -> https://github.com/imazen/imageflow
Alternatives To Imageflow Go
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Curb1,2693,6665753 months ago71April 29, 202224otherC
Ruby bindings for libcurl
Httptools1,075450906 months ago19February 22, 20229mitPython
Fast HTTP parser
Falco435
10 days ago65September 23, 20225apache-2.0F#
A toolkit for building fast, functional-first and fault-tolerant web applications using F#.
Sdk Java319135 hours ago25December 21, 202132apache-2.0Java
Java SDK for CloudEvents
Woowahanjs160
75 years ago37February 26, 20189JavaScript
웹 어플리케이션 개발을 위한 JS프레임워크
Hoverfly Java154681118 days ago46March 05, 202314apache-2.0Java
Java binding for Hoverfly
Liburing4cpp153
10 months ago2mitC++
Modern C++ binding for liburing (io_uring) that features C++ coroutines support
Curlsharp143
6 years ago9bsd-3-clauseC#
CurlSharp - .Net binding and object-oriented wrapper for libcurl.
Hyperlocal1393128a year ago9December 28, 202012mitRust
🔌 ✨rustlang hyper bindings for local unix domain sockets
Emacs Web69
4 years ago12gpl-3.0Emacs Lisp
a useful HTTP client in EmacsLisp
Alternatives To Imageflow Go
Select To Compare


Alternative Project Comparisons
Readme

Go Binding for Imageflow

WindowsMacosLinux

Quickly scale or modify images and optimize them for the web.

If the AGPLv3 does not work for you, you can get a commercial license on a sliding scale. If you have more than 1 server doing image processing your savings should cover the cost.

Docs are here

Installation

Imageflow dependents on libimageflow for image processing capabilities. libimageflow is available as the static and dynamic shared library on Linux and macOS. Currently libimageflow is available as a dynamic library for Windows. Prebuilt shared libraries are available here. Add libimageflowto OS path. Then it can be downloaded usinggo get.

$ go get github.com/imazen/imageflow-go

Usage

A simple go program to create two image of different size.

package main;

import (
	"io/ioutil"

	imageflow "github.com/imazen/imageflow-go"
)

func main(){
	step:=imageflow.NewStep()
	data,_:=step
	.Decode(imageflow.NewURL("https://jpeg.org/images/jpeg2000-home.jpg"))
	.Branch(func(step *imageflow.Steps){
		step
		.ConstrainWithin(200,200)
		.Encode(imageflow.NewFile("test_1.jpg"),imageflow.MozJPEG{})
	}).ConstrainWithin(400,400)
	.Encode(imageflow.GetBuffer("test"),imageflow.MozJPEG{})
	.Execute()
	ioutil.WriteFile("test_2.jpeg",data["test"],0644)
}

Popular Bindings Projects
Popular Http Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Golang
Rust
Http
Bindings
Image Processing
Batch Processing