Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIMGdata ¶
Types ¶
type Images ¶
type Images struct { Img16 string `json:"img16"` Img32 string `json:"img32"` Img64 string `json:"img64"` Img128 string `json:"img128"` Img256 string `json:"img256"` }
Images is the list of differently scaled logo images for each coin
type Logo ¶
type Options ¶
type Options struct { // See ParseOptions for interpretation of Width and Height values Width float64 Height float64 // If true, resize the image to fit in the specified dimensions. Image // will not be cropped, and aspect ratio will be maintained. Fit bool // Rotate image the specified degrees counter-clockwise. Valid values // are 90, 180, 270. Rotate int FlipVertical bool FlipHorizontal bool // Quality of output image Quality int // HMAC Signature for signed requests. Signature string // Allow image to scale beyond its original dimensions. This value // will always be overwritten by the value of Proxy.ScaleUp. ScaleUp bool // Desired image format. Valid values are "jpeg", "png", "tiff". Format string // Crop rectangle params CropX float64 CropY float64 CropWidth float64 CropHeight float64 // Automatically find good crop points based on image content. SmartCrop bool }
Options specifies transformations to be performed on the requested image.
Click to show internal directories.
Click to hide internal directories.