I need to quantize more than one bitmap (i.e., create one Gif from several Bitmaps), and am not sure how to do this. Notice below, there should only be one Bitmap argument passed to the Quantizer.Quantize(Bitmap) method.
Example:
OctreeQuantizer Quantizer = new OctreeQuantizer(255,
;
using (Bitmap QuantizedBitmap = Quantizer.Quantize(Bitmap))
{
Response.BufferOutput = true;
l_QuantizedBitmap.Save(Response.OutputStream, ImageFormat.Gif);
}
In essence, this would be what I need:
Quantizer.Quantize(Bitmap + <br /> + Bitmap + <br /> + Bitmap)
Extra notes: I have an aspx page with an image control and am setting its image.ImageURL to another aspx that is creating the bmp's and quantizing it into a .gif; however, only one image is returned or rendered; thus, the need to combine bmp's prior to quantizing.
Ex:
imgBar.ImageUrl = string.Format("~/ScoreDistGraph.aspx?DemographicType={0}");
Thank you for any guidance you may be able to provide!
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.