Documentation ¶
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 ToBitmap ¶
ToBitmap
32bit bmp
返回的Bmp对象用完记得Free掉
32bit bmp
Remember to free the returned bmp object
func ToGIFImage ¶
ToGIFImage
将Go的Image转为LCL的 TGIFImage
返回的gif对象用完记得Free掉
Convert the image of go to TGIFImage of LCL
Remember to free the returned GIF object
func ToGoImage ¶
ToGoImage
将lcl的Graphic对象转为Go的Image
Convert the graphic object of LCL to the image of go
func ToJPEGImage ¶
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.