Documentation ¶
Overview ¶
实现一些Go的Image转lcl的
Index ¶
- Variables
- func ToBitmap(img image.Image) (*vcl.TBitmap, error)
- func ToBitmap2(img image.Image, bmp *vcl.TBitmap) error
- func ToGIFImage(img image.Image) (*vcl.TGIFImage, error)
- func ToGoImage(obj *vcl.TGraphic) (image.Image, error)
- func ToJPEGImage(img image.Image, quality int) (*vcl.TJPEGImage, error)
- func ToPngImage(img image.Image) (*vcl.TPngImage, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ToGIFImage ¶
将Go的Image转为LCL的 TGIFImage
返回的gif对象用完记得Free掉
Convert the image of go to TGIFImage of LCL
Remember to free the returned GIF object
func ToJPEGImage ¶
将Go的Image转为LCL的 TJPEGImage
返回的jpg对象用完记得Free掉
Convert the image of go to TJPEGImage of LCL
Remember to free the returned jpg object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.