Covert to Image
I have one object. I want to convert into image(png or jpg) this object data.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mageshwaran RPosted Nov 23, 2019, 1:00 PM
Maen BadwanPosted May 30, 2019, 7:35 AM
This depends on the content of the object that you want to convert to image.
What is the nature of this object?
Is it a shape? A file?
Does it contain actual image (pixel) data?
Does it contain a different type of data?
In general, if the object contains actual image (pixel) data, and you want to save it as (PNG or JPG) file, you can use LEADTOOLS .NET classes to:
- Create a RasterImage object of your pixel data.
- Save the RasterImage object to any supported image format including PNG and JPG.
https://www.leadtools.com/help/leadtools/v20/dh/co/rastercodecs-save(rasterimage,string,rasterimageformat,int).html
Rajanikant HawaldarPosted May 29, 2019, 3:53 AM
Sanwar RanwaPosted May 29, 2019, 3:30 AM