1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using System.Drawing;
- using OpenMetaverse;
- using OpenMetaverse.Imaging;
- namespace OpenSim.Region.Framework.Interfaces
- {
- public delegate void DecodedCallback(UUID AssetId, OpenJPEG.J2KLayerInfo[] layers);
- public interface IJ2KDecoder
- {
- void BeginDecode(UUID assetID, byte[] j2kData, DecodedCallback callback);
-
-
-
-
-
-
- bool Decode(UUID assetID, byte[] j2kData);
-
-
-
-
-
-
-
-
- bool Decode(UUID assetID, byte[] j2kData, out OpenJPEG.J2KLayerInfo[] layers, out int components);
-
-
-
-
-
- Image DecodeToImage(byte[] j2kData);
- }
- }
|