Examples of ConvertChannels()


Examples of com.ngt.jopenmetaverse.shared.sim.imaging.ManagedImage.ConvertChannels()

                if (removeAlpha)
                {
                  if ((ImageChannels.and(mi.Channels,  ManagedImage.ImageChannels.Alpha)) != 0)
                  {
                    mi.ConvertChannels(ImageChannels.get(ImageChannels.and(mi.Channels, ~ManagedImage.ImageChannels.Alpha.getIndex())));
                  }
                }
                byte[] tgaData = mi.ExportTGA();
               
                texDownloadResult[0] = LoadTGAClass.LoadTGA(new ByteArrayInputStream(tgaData));               
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.