Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1888

How to save bitmap to rgb pixelformat in firemonkey?

$
0
0

Dear:

 When I make MakeScreenshot and save to file. The file format is default to 32bit(BGRA). how to save to other format?

 like  RGB, BGR_565 etc.

It is easy to do in VCL. only set pixelformat.  but in firemonkey, the property is readonly. 

 

SpeedButton1.MakeScreenshot.savetofile('d:\sample.bmp');


Viewing all articles
Browse latest Browse all 1888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>