Package cli.System.Drawing.Imaging

Examples of cli.System.Drawing.Imaging.EncoderParameters.Dispose()


            params.get_Param()[0] = new EncoderParameter(Encoder.LuminanceTable, qTableToShortArray(qTables[0]));
            params.get_Param()[1] = new EncoderParameter(Encoder.ChrominanceTable, qTableToShortArray(qTables[1]));
            bitmap.Save(stream, codec, params);
        }
        finally {
            params.Dispose();
        }
       
        imgOutput.write(stream.GetBuffer(), 0, (int)stream.get_Length());
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.