Documentation ¶
Overview ¶
实现一些Go的Image转lcl的
Index ¶
- Variables
- func ToBitmap(img image.Image) (*lcl.TBitmap, error)
- func ToBitmap2(img image.Image, bmp *lcl.TBitmap) error
- func ToGIFImage(img image.Image) (*lcl.TGIFImage, error)
- func ToGoImage(obj *lcl.TGraphic) (image.Image, error)
- func ToJPEGImage(img image.Image, quality int) (*lcl.TJPEGImage, error)
- func ToPngImage(img image.Image) (*lcl.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.