Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42381

How can I specify the image format to save?

$
0
0
I have been looking through MSDN for a couple of hours and I can not find a straight forward way to save a specific image. I am creating a custom application that uses 256 color indexed png files. How can I make sure that the png is saved in exactly the right format. In this case as I said a 256 color indexed png. The links on MSDN go from the System.Drawing namespace all the way through the Imaging namespace. Does anyone have straightforward information on how to accomplish this, so I don't go through unnecessary namespaces?

If you can help with this, it would also be nice if you can explain how the image format to be saved is properly constrained for editing in a picturebox. I'm using standard pictureboxes, but none of them are constrained and allow full editing, without an indexed palette.

Viewing all articles
Browse latest Browse all 42381

Trending Articles



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