go-img800x418

所属分类:开发工具
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2024-02-24 02:50:00
上 传 者sh-1993
说明:  包img800x418提供了用于Go编程语言的工具,用于处理宽度和高度为800×418的图像。
(Package img800x418 provides tools for working with images whose width and height are 800×418, for the Go programming language.)

文件列表:
colored/
LICENSE
bounds.go
cmyk.go
dimensions.go
go.mod
gray.go
gray16.go
nrgba.go
nrgba64.go
nycbcra.go
paletted.go
rgba.go
rgba64.go

# go-img800x418 Package **img800x418** provides tools for working with images whose width and height are 800×418, for the Go programming language. 800x418 images are popular with what are something called "cards" or "link preview images". I.e., the images used with OpenGraph `"og:image"`, Twitter Card `"twitter:image"`, and Farcaster Frames (i.e., Frame Protocol) `"fc:frame:image"`. ## Documention Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-img800x418 [![GoDoc](https://godoc.org/github.com/reiver/go-img800x418?status.svg)](https://godoc.org/github.com/reiver/go-img800x418) ## Examples Here is an example of creating an 800×418 image using package **img800x418**. In this particular example a paletted image is created. ```golang import "github.com/reiver/go-img800x418" // ... img := img800x418.NewPaletted(palette) ``` ## Import To import package **img800x418** use `import` code like the follownig: ``` import "github.com/reiver/go-img800x418" ``` ## Installation To install package **img800x418** do the following: ``` GOPROXY=direct go get https://github.com/reiver/go-img800x418 ``` ## Author Package **img800x418** was written by [Charles Iliya Krempeaux](http://changelog.ca)

近期下载者

相关文件


收藏者