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: 3361
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: Drawing / Painter Difference,Usage,Manual
Goto Forum:
  


Current Time: Tue May 14 14:36:14 CEST 2024

Total time taken to generate the page: 0.02485 seconds