Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » How to save drawing as an image
Re: How to save drawing as an image [message #60512 is a reply to message #60509] Thu, 14 March 2024 13:27 Go to previous message
koldo is currently offline  koldo
Messages: 3437
Registered: August 2008
Senior Veteran
Hi kunal_s

If you have an Image object you can save it like this:
PNGEncoder encoder;
encoder.SaveFile(fileName, image);

JPGEncoder encoder(jpgQuality);
encoder.SaveFile(fileName, image);


Best regards
IƱaki
 
Read Message
Read Message
Previous Topic: Compiling problem in the Draw package
Next Topic: GLCtrl - alpha value makes unexpected results
Goto Forum:
  


Current Time: Sun Jun 08 08:01:21 CEST 2025

Total time taken to generate the page: 0.05647 seconds