Converting TPixMap <> TImage
BlitzMax Forums/BlitzMax Beginners Area/Converting TPixMap <> TImage
| ||
Hi there! Anybody knows which is the best method to convert a TImage to TPixMap and a TPixMap to TImage. Sorry if this topic have been asked many times, but I'm a bit confused about this. Thanks in advance. Best regards. |
| ||
Create a TImage and use the Lock method to edit the TPixmap or SetPixmap if you already have one. |
| ||
Thanks Otus! |
| ||
Tpixmap --> Timage LoadImage(Tpixmap) Timage --> Tpixmap LockImage(Timage) |
| ||
Perfect, Degac. Thank you. |